-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account: get accounting date from invoicing date for vendor bills
In the first days of the month, many of the previous month's invoices could still to be posted since the lock date is not yet set to the last day of the previous month. To avoid the user having to modify the default accounting date on each such bill, detect whether the conditions allow the invoice to be posted on the very last day of the oldest possible month, and then adapt the accounting date to the last day of that month. task-2575560 closes odoo#72934 Signed-off-by: Laurent Smet <[email protected]>
- Loading branch information
1 parent
5ed7be3
commit 3b4c6c7
Showing
3 changed files
with
63 additions
and
7 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
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