[FIX] account: revert "avoid traceback when reversing archived values"
This reverts commit d949cb88abbf8f64b383bceba07105df578a4a14 in favor of https://github.com/odoo/odoo/commit/f4162a75bdc47cd94610ee7626cc68e078313329 To avoid misleading users into thinking that "everything is allright" while actually there are missing tax_id on the credit note lines closes odoo/odoo#56845 X-original-commit: 96b5ccb4fa8bafd536f880ba7ff03218c1fe1e1b Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
This commit is contained in:
@@ -2141,7 +2141,7 @@ class AccountMove(models.Model):
|
||||
mapping[inv_rep_line] = ref_rep_line
|
||||
return mapping
|
||||
|
||||
move_vals = self.with_context(include_business_fields=True,active_test=False).copy_data(default=default_values)[0]
|
||||
move_vals = self.with_context(include_business_fields=True).copy_data(default=default_values)[0]
|
||||
|
||||
tax_repartition_lines_mapping = compute_tax_repartition_lines_mapping(move_vals)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user