diff --git a/l10n_ar_account_tax_settlement/__manifest__.py b/l10n_ar_account_tax_settlement/__manifest__.py index 3851da9e..738ce6a7 100644 --- a/l10n_ar_account_tax_settlement/__manifest__.py +++ b/l10n_ar_account_tax_settlement/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Tax Settlements For Argentina', - 'version': "16.0.1.3.0", + 'version': "16.0.1.4.0", 'category': 'Accounting', 'website': 'www.adhoc.com.ar', 'license': 'LGPL-3', diff --git a/l10n_ar_account_tax_settlement/wizards/inflation_adjustment.py b/l10n_ar_account_tax_settlement/wizards/inflation_adjustment.py index efc729a8..ee99206f 100644 --- a/l10n_ar_account_tax_settlement/wizards/inflation_adjustment.py +++ b/l10n_ar_account_tax_settlement/wizards/inflation_adjustment.py @@ -33,10 +33,6 @@ class InflationAdjustment(models.TransientModel): domain=[('deprecated', '=', False)], required=True, ) - analytic_account_id = fields.Many2one( - 'account.analytic.account', - 'Analytic Account', - ) start_index = fields.Float( compute='_compute_index', ) @@ -197,7 +193,6 @@ def FormatAmount(amount): FormatAmount(line.get('balance')), initial_factor * 100.0), 'date_maturity': before_date_from, 'debit' if adjustment > 0 else 'credit': abs(adjustment), - 'analytic_account_id': self.analytic_account_id.id, }) adjustment_total[ 'debit' if adjustment > 0 else 'credit'] += abs(adjustment) @@ -228,7 +223,6 @@ def FormatAmount(amount): period.get('factor') * 100.0), 'date_maturity': period.get('date_from'), 'debit' if adjustment > 0 else 'credit': abs(adjustment), - 'analytic_account_id': self.analytic_account_id.id, }) adjustment_total[ 'debit' if adjustment > 0 else 'credit'] += abs(adjustment) @@ -248,7 +242,6 @@ def FormatAmount(amount): self.date_from, self.date_to), 'debit' if adj_diff < 0 else 'credit': abs(adj_diff), 'date_maturity': self.date_to, - 'analytic_account_id': self.analytic_account_id.id, }) # Generate account.move @@ -258,4 +251,4 @@ def FormatAmount(amount): 'ref': _('Ajuste por inflaciĆ³n %s') % (date_to.year), 'line_ids': [(0, 0, line_data) for line_data in lines], }) - return move.get_access_action() + return {} diff --git a/l10n_ar_account_tax_settlement/wizards/inflation_adjustment_view.xml b/l10n_ar_account_tax_settlement/wizards/inflation_adjustment_view.xml index c22e92a3..ae7ad3cf 100644 --- a/l10n_ar_account_tax_settlement/wizards/inflation_adjustment_view.xml +++ b/l10n_ar_account_tax_settlement/wizards/inflation_adjustment_view.xml @@ -12,7 +12,6 @@ -