From 115ac5962fae5c73383dc83a1afef34a06c447bd Mon Sep 17 00:00:00 2001 From: Camila Date: Fri, 7 Jun 2024 16:48:53 -0300 Subject: [PATCH] [ADD] account_ux: add new uso_del_diario field --- account_ux/__manifest__.py | 2 +- account_ux/models/account_journal.py | 7 +++++++ account_ux/views/account_journal_views.xml | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/account_ux/__manifest__.py b/account_ux/__manifest__.py index c7550440f..c789e9a8c 100644 --- a/account_ux/__manifest__.py +++ b/account_ux/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Account UX', - 'version': "13.0.1.25.0", + 'version': "13.0.1.26.0", 'category': 'Accounting', 'sequence': 14, 'summary': '', diff --git a/account_ux/models/account_journal.py b/account_ux/models/account_journal.py index 9cec9685d..7b831c6bd 100644 --- a/account_ux/models/account_journal.py +++ b/account_ux/models/account_journal.py @@ -31,6 +31,13 @@ class AccountJournal(models.Model): help="If set an email will be sent to the customer after the invoices" " related to this journal has been validated.", ) + uso_del_diario = fields.Selection([ + ('without_statement','No generar extractos ni conciliar'), + ('import_conciliation','Conciliación importando archivos/sincronización'), + ('assistant_import','Conciliaciones a través del asistente de importación de líneas') + ], + string="Uso del diario", + ) @api.constrains('currency_id') def check_currency(self): diff --git a/account_ux/views/account_journal_views.xml b/account_ux/views/account_journal_views.xml index a60ee10c6..ba3a93061 100644 --- a/account_ux/views/account_journal_views.xml +++ b/account_ux/views/account_journal_views.xml @@ -12,6 +12,9 @@ + + +