[IMP] account: hide print statement button

odoo/enterprise#36355 adds the ability to generate PDF's and attach them to the statement. To give the user feedback of completion, the PDF is then downloaded. Since this is a duplication of features, the report is no longer bound to the print menu.
Task-3151040

closes odoo/odoo#111542

X-original-commit: 331aabe79b80b06f44bc2de1712742ec8f00f735
Related: odoo/enterprise#36559
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Ayob Habib (ayh) <ayh@odoo.com>
This commit is contained in:
Habib (ayh)
2023-02-01 14:37:55 +01:00
parent de6a9a9ee2
commit 7618e2e657
3 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -2490,11 +2490,6 @@ msgstr ""
msgid "Attach a file"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement__attachment_ids
msgid "Attachment"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_account__message_attachment_count
#: model:ir.model.fields,field_description:account.field_account_account_template__message_attachment_count
@@ -2510,6 +2505,7 @@ msgid "Attachment Count"
msgstr ""
#. module: account
#: model:ir.model.fields,field_description:account.field_account_bank_statement__attachment_ids
#: model:ir.model.fields,field_description:account.field_account_bank_statement_line__attachment_ids
#: model:ir.model.fields,field_description:account.field_account_invoice_send__attachment_ids
#: model:ir.model.fields,field_description:account.field_account_move__attachment_ids
@@ -150,7 +150,8 @@ class AccountBankStatement(models.Model):
)
attachment_ids = fields.Many2many(
comodel_name='ir.attachment'
comodel_name='ir.attachment',
string="Attachments",
)
# -------------------------------------------------------------------------
-1
View File
@@ -74,7 +74,6 @@
<field name="report_name">account.report_statement</field>
<field name="report_file">account.report_statement</field>
<field name="paperformat_id" ref="account.paperformat_euro_bank_statement"/>
<field name="binding_model_id" ref="model_account_bank_statement"/>
<field name="binding_type">report</field>
</record>