Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
document_attachment
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
document_attachment
Commits
c055a6c04081
Commit
c055a6c04081
authored
5 years ago
by
oury.balde
Browse files
Options
Downloads
Patches
Plain Diff
Reviewed field name and tooltip
parent
40ae0f26f812
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
models/mail_template.py
+3
-3
3 additions, 3 deletions
models/mail_template.py
views/mail_template.xml
+1
-1
1 addition, 1 deletion
views/mail_template.xml
with
4 additions
and
4 deletions
models/mail_template.py
+
3
−
3
View file @
c055a6c0
...
...
@@ -29,5 +29,5 @@
doc_to_attach_ids
=
fields
.
One2many
(
comodel_name
=
"
mail.template.doc_to_attach
"
,
inverse_name
=
"
template_id
"
,
string
=
"
D
ocuments to attach
"
,
string
=
"
Optional d
ocuments to attach
"
,
help
=
(
...
...
@@ -33,6 +33,6 @@
help
=
(
"
Documents will not be regenerated should they have already been
"
"
generated beforehand and stored within a
field of the object
.
"
"
Allow to attach additional documents based either
"
"
on a binary
field of the object
or on a report
"
),
)
...
...
This diff is collapsed.
Click to expand it.
views/mail_template.xml
+
1
−
1
View file @
c055a6c0
...
...
@@ -9,7 +9,6 @@
<field
name=
"report_name"
position=
"after"
>
<field
name=
"doc_to_attach_ids"
>
<tree
editable=
"bottom"
>
<field
name=
"report_name"
/>
<field
name=
"field_id"
domain=
"[('relation', '=', 'document_attachment')]"
options=
"{'no_create': True}"
/>
<field
name=
"report_template_id"
/>
...
...
@@ -13,6 +12,7 @@
<field
name=
"field_id"
domain=
"[('relation', '=', 'document_attachment')]"
options=
"{'no_create': True}"
/>
<field
name=
"report_template_id"
/>
<field
name=
"report_name"
/>
</tree>
</field>
</field>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment