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.
closesodoo/odoo#147242
X-original-commit: 8212f7dd73028fa6c68819218e1e63fe60d71913
Signed-off-by: Josse Colpaert <jco@odoo.com>