Skip to content

Commit

Permalink
[FIX] account_payment_pro: add multiple fixes
Browse files Browse the repository at this point in the history
closes #584

Signed-off-by: Filoquin adhoc <[email protected]>
  • Loading branch information
rov-adhoc committed Jan 17, 2025
1 parent c7f1ddf commit 9ff25de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_payment_pro/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def _get_trigger_fields_to_synchronize(self):
# triggereando un write y luego llamando a este metodo y dando error, por ahora no encontramos una mejor forma
# esto esta ligado de alguna manera a un llamado que se hace dos veces por "culpa" del método
# "_inverse_amount_company_currency". Si bien no es elegante para todas las pruebas que hicimos funcionó bien.
if self.mapped('open_move_line_ids'):
if self.mapped('move_id.line_ids'):
res = res + ('force_amount_company_currency',)
return res + ('write_off_amount', 'write_off_type_id',)

Expand Down

0 comments on commit 9ff25de

Please sign in to comment.