diff --git a/addons/account/i18n/account.pot b/addons/account/i18n/account.pot index 49fe35f2388..fdf03da08d5 100644 --- a/addons/account/i18n/account.pot +++ b/addons/account/i18n/account.pot @@ -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 diff --git a/addons/account/models/account_bank_statement.py b/addons/account/models/account_bank_statement.py index b12d3f2d372..939ddb3bc24 100644 --- a/addons/account/models/account_bank_statement.py +++ b/addons/account/models/account_bank_statement.py @@ -150,7 +150,8 @@ class AccountBankStatement(models.Model): ) attachment_ids = fields.Many2many( - comodel_name='ir.attachment' + comodel_name='ir.attachment', + string="Attachments", ) # ------------------------------------------------------------------------- diff --git a/addons/account/views/account_report.xml b/addons/account/views/account_report.xml index 6cc34f6d611..6f5711e6200 100644 --- a/addons/account/views/account_report.xml +++ b/addons/account/views/account_report.xml @@ -74,7 +74,6 @@ account.report_statement account.report_statement - report