contract icon indicating copy to clipboard operation
contract copied to clipboard

[14.0][IMP] contract: Set default name to '/' for newly created invoice from contract

Open MTantin opened this issue 3 years ago • 2 comments

No default name is defined on invoice values for creation from contract. The result is invoice without name for the first of the month and all others with the same invoice number specific at the month "INV/2022/07/00001".

It's better to have default name '/' for all invoices, the name will be recompute at the invoice validation.

MTantin avatar Jul 20 '22 14:07 MTantin

Please rename the commit message to [IMP] contract: Set name='/' for contract invoices

https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#71commit-message

pedrobaeza avatar Jul 20 '22 19:07 pedrobaeza

@pedrobaeza Thx for your comment. The commit message is renamed.

MTantin avatar Jul 22 '22 07:07 MTantin

@pedrobaeza What's the next workprocess to insert this code to 14.0 branch? Do you need anything more from me?

MTantin avatar Aug 31 '22 08:08 MTantin

@sanrav Could you confirm this ?

rousseldenis avatar Aug 31 '22 08:08 rousseldenis

@MTantin at least 2 reviews must be done for regular merging.

pedrobaeza avatar Aug 31 '22 08:08 pedrobaeza

Let's merge it then!

/ocabot merge patch

Can you please fw-port it to v15?

pedrobaeza avatar Aug 31 '22 10:08 pedrobaeza

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 14.0-ocabot-merge-pr-857-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot avatar Aug 31 '22 10:08 OCA-git-bot

Congratulations, your PR was merged at a7bc7307d2769ca6ba483a7ed8ffbfd67769d6d4. Thanks a lot for contributing to OCA. ❤️

OCA-git-bot avatar Aug 31 '22 10:08 OCA-git-bot