Wednesday, August 12, 2020
7 changes · master
Resolved issues and error corrections
The calendar view now keeps its normal height unless it is specifically shown in the Time Off area. This prevents the Time Off module from unintentionally shrinking calendars elsewhere, improving readability and layout consistency for users.
Original PR description
Before this commit, calendar view's height was 89.5% of its container. It was because of hr_holidays module which reduces the calendar's height to add some elements on top of it. This commit changes the css rule that reduces the calendar's height to reduce it only when `.o_timeoff_container` is in the dom. Task id: 2193921
The India localization demo data was updated to stop using an outdated invoice posting action. This keeps sample accounting data aligned with the current system behavior and helps avoid errors when loading demos.
Original PR description
Commit https://github.com/odoo/odoo/commit/82dc0cb7b91ae59beae7e1c865b670afc5958b31 deprecated that method. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures Odoo's main workflow tests start with the required make-to-order inventory route enabled, so the test scenario matches how the flow is meant to work. It also corrects a small issue where route options could be hidden when opening a product form from a create/edit action.
Original PR description
Enable MTO route at the start of main flow tour since it's used by it. Also fix a small bug when the form view is open from a create edit where the route are hidden. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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