Wednesday, August 12, 2020
4 changes · master
Resolved issues and error corrections
New accounting sequences now use the configured starting number or the last known number instead of restarting from zero. This prevents electronic invoices from being assigned duplicate or invalid numbers, helping businesses validate invoices with external tax authorities such as AFIP.
Original PR description
task 355 --- ### Description of the error Use last or starting sequence for new sequences instead of setting the seq to 0 all the time. Useful when we set the starting sequence for electronic…
task 355 --- ### Description of the error Use last or starting sequence for new sequences instead of setting the seq to 0 all the time. Useful when we set the starting sequence for electronic invoices using webservices. Here is an example of how to reproduce it for AR localization: 1. Create a new journal for electronic invoice with this data  2. Go to menu "Accounting / Accounting / Actions / Consult invoice in AFIP" and get the information of the last invoice "FACTURA (A)". At the moment this ticket was reported the next number was 42  4. Create a new invoice for the Journal FE 1234 of document type "Factura (A)" ### Current behavior before the PR Is showing that the document number is 01234-00000001 ( seq = 1)  And if I try to validate the invoice we receive an error from AFIP  ### Desired behavior after the PR Will show that the document number is 01234-00000043 (seq) and we will be able to validate the invoice in AFIP -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes issues that could block or incorrectly mark Argentinian electronic invoices during validation. Invoices are now only treated as fully validated after both Odoo and AFIP validation succeed, reducing false validation errors for users.
Original PR description
task 346 --- Multiple fixes that is making the invoice validation fail, this fixes are corresponding to another massive changes made in master for Odoo team. 1. validated invoices shown validation error  2. fix invalid keyword 
The payroll expense workflow now allows users in the Billing role to post and pay expense reports. This fixes an access issue so billing teams can complete expense processing without needing extra permissions or handoffs.
Original PR description
--task: 2273528
Manufacturing order cost reports now keep a more accurate snapshot of costs at the time inventory is posted. This prevents later changes to work center rates or bills of materials from altering historical reports, improving trust in past production costing.
Original PR description
WIP