Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] _payment_group: add_all not editing aml on m2m
Por lo que parece un bug del framework, cuando el método computado _compute_to_pay_move_lines agrega las lineas Luego la interfaz trata de hacer un write en los amls lo que termina siendo malo a nivel performance pero además peligroso porque termina corriendo update de cosas que no queremos (y eventualmente dando error). Si se usan los botones add_all esto no pasa, es un tema del compute. En v13 lo teníamos como onchange, tal vez por eso no pasaba. Resolvemos forzando que en la vista todo sea redonly
- Loading branch information
1 parent
e253d1e
commit 877c74c
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters