-
- Downloads
[ADD] l10n_latam_invoice_document: multiple fixes
* Inherit the new _prepare_default_reversal method to be able to set the document type and number in the reverse move from the values we have in the account.move.reversal wizard.
* Document type not set in credit note wizard: Set the move_id field in defaults and add it to the view. with this change the document types are properly computed.
* Make document number required in refund wizard.
* Document type field can be copy: This way when using the refund wizard for the 3rd option will create the new one with the same document type of the original one.
closes odoo/odoo#43514
Signed-off-by:
Josse Colpaert <jco@openerp.com>
Showing
- addons/l10n_latam_invoice_document/models/account_move.py 1 addition, 1 deletionaddons/l10n_latam_invoice_document/models/account_move.py
- addons/l10n_latam_invoice_document/wizards/account_move_reversal.py 9 additions, 4 deletions...n_latam_invoice_document/wizards/account_move_reversal.py
- addons/l10n_latam_invoice_document/wizards/account_move_reversal_view.xml 2 additions, 1 deletion...m_invoice_document/wizards/account_move_reversal_view.xml
Loading
Please register or sign in to comment