[FIX] l10n_mx: correct repartition for credit notes account
The account used in the Repartition for Credit Notes is wrong for taxes `IVA(8%) COMPRAS`, `IVA(16%) COMPRAS`, `IVA(8%) VENTAS`, `RETENCION IVA ARRENDAMIENTO 10.67%`, `RETENCION IVA HONORARIOS 10.67%` and `IVA(0%) COMPRAS` Steps to reproduce: 1. Install Accounting app and l10n_mx module 2. Go to Accounting > Configuration > Invoicing > Taxes 3. Open any one of the taxes mentioned above 4. The account in Repartition for Invoices should be the same as the account in Repartition for Credit Notes Solution: Change the default account used in Repartion for Credit Notes opw-2806228 closes odoo/odoo#88359 X-original-commit: e8dbd07f160dee59117b855ff54d6fb428bf9778 Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com> Signed-off-by: Guillaume Merlin (megu) <megu@odoo.com>
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta216_10'),
|
||||
'account_id': ref('cuenta216_10_20'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -308,7 +308,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta216_10'),
|
||||
'account_id': ref('cuenta216_10_20'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -335,6 +335,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta118_01'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -347,6 +348,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta118_01'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -386,7 +388,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta119_01'),
|
||||
'account_id': ref('cuenta118_01'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -426,7 +428,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('cuenta119_01'),
|
||||
'account_id': ref('cuenta118_01'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -467,7 +469,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'tag_ids': [ref('l10n_mx.tag_iva')],
|
||||
'account_id': ref('cuenta209_01'),
|
||||
'account_id': ref('cuenta208_01'),
|
||||
'tag_ids': [ref('tag_iva')],
|
||||
}),
|
||||
]"/>
|
||||
|
||||
Reference in New Issue
Block a user