Skip to content

Commit

Permalink
Revert "[FIX] Fix move tax recomputation on change company"
Browse files Browse the repository at this point in the history
This reverts commit b1cf365.

Part-of: #130
  • Loading branch information
jjscarafia committed Oct 19, 2023
1 parent 2cb450c commit 5096923
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions account_multic_fix/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ def _onchange_journal(self):
# si bien onchange partner llama _recompute_dynamic_lines no manda el recompute_all_taxes, este refrezca
# lineas de impuestos+
self._recompute_dynamic_lines(recompute_all_taxes=True)
# Este Pr impide recalcular los impuestos si ya esta definido line.tax_repartition_line_id
# por eso lo vuelvo a ejecutar https://github.com/odoo/odoo/pull/136047
self._recompute_tax_lines()
return super()._onchange_journal()

@api.onchange('partner_id')
Expand Down

0 comments on commit 5096923

Please sign in to comment.