Skip to content

Commit

Permalink
[REM] revert fix of multicurrency payments till major fix
Browse files Browse the repository at this point in the history
Tenemos un error al querer guardar por este cambio que hicimos.
Ahora nos deja las dos cuentas como outstanding y no se pueden crear pagos. Revertimos hasta que encontremos el problema
  • Loading branch information
jjscarafia committed Sep 22, 2023
1 parent 08ea16f commit 255a0bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions account_payment_group/models/account_payment.py
Expand Up @@ -244,10 +244,10 @@ def _prepare_move_line_default_vals(self, write_off_line_vals=None):
})
return res

@api.model
def _get_trigger_fields_to_synchronize(self):
res = super()._get_trigger_fields_to_synchronize()
return res + ('force_amount_company_currency',)
# @api.model
# def _get_trigger_fields_to_synchronize(self):
# res = super()._get_trigger_fields_to_synchronize()
# return res + ('force_amount_company_currency',)

@api.depends_context('default_is_internal_transfer')
def _compute_is_internal_transfer(self):
Expand Down

0 comments on commit 255a0bd

Please sign in to comment.