Files
odoo_source/addons/l10n_latam_invoice_document/models
Pablo Montenegro 8b4f4f2e37 [FIX] l10n_latam_invoice_document: prevent delete document number if invoice date is assigned.
Task latam: 1137
Task Adhoc: 33333
Prevent delete document number if invoice date is assigned (manual documents).

Description of the issue/feature this PR addresses:
On a draft vendor bill (manual documents) if the document number setted, and then if the user set a date, the document number is automatically cleaned and it`s must not be cleaned.

Current behavior before PR:
On a draft vendor bill if the document number setted, and then if the user set a date, the document number is automatically cleaned.

Desired behavior after PR is merged:
On a draft vendor bill if the document number setted, and then if the user set a date, the document number is not automatically cleaned.

closes odoo/odoo#147242

X-original-commit: 8212f7dd73028fa6c68819218e1e63fe60d71913
Signed-off-by: Josse Colpaert <jco@odoo.com>
2023-12-22 10:36:29 +00:00
..