Daily updates from Odoo
Friday, October 25, 2019
9 changes · master
New functionality added to Odoo
Work Order tablet users now see a clear warning when they select an expired lot. This helps operators avoid using expired materials and supports better production quality control.
Original PR description
Adds a message aside the `lot_id` field of workorder in tablet view to inform the user when he/she wants to use an expired lot. Task #1938656
Enhancements to existing features
Accounting users can no longer create draft journal entries dated in closed fiscal years, preventing work that could never be posted. When duplicating an older entry from a closed year, the system now moves it to the first available open accounting date while preserving the original history in the chatter.
Original PR description
Task 2076182 It makes no sense to allow creating draft entries for closed periods as it will never be allowed to post them! Directly warn the user seems smart. At the same time, we should be able to duplicate entries from closed fiscal years without any errors. So, if we duplicate an entry from a closed period, we should replace the accounting date by the first "open" accounting date. In order to keep the audit trails, we should keep the history in the chatter. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Improves how users manage product expiration dates by making expiration options visible only when relevant, allowing dates to be set during receipt, and showing key dates on inventory lists and lot/serial number labels. This helps warehouse teams identify expired stock sooner and reduces mistakes when receiving or validating tracked products.
Original PR description
:black_medium_small_square: Adds boolean on `product.product` to user can use expiration dates on tracked product (otherwise the date section will be invisible). :black_medium_small_square: Changes label and tooltip of `product.product` and `stock.production.lot` date fields. :black_medium_small_square: Displays `removal_date` on quant list view. :black_medium_small_square: Can set the `life_date` on receipt. :black_medium_small_square: Displays *Best before* date and *Expiration Date* on LN/SN pdf.
Accounting users can now specify which journals are allowed for each account, helping ensure specialized accounts such as IFRS accounts are only used in the correct journal. The system also prevents journal configuration changes that would make existing accounting entries invalid under the new rules.
Original PR description
Task 2074811
Allow to specify on an account the journals that can be allowed
Example of use case :
I create an IFRS journal and some specific IFRS accounts
I want to make sure that the accounts I configured for the IFRS are only use to make entries in the IFRS journal
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prCourse cards now use their own description field instead of always relying on the course's short description. This keeps card text in sync by default while letting staff customize what appears on course cards without changing the main short description.
Original PR description
The Channel model contains the two following fields: `description` and `description_html`. The former is a short plain-text description that can be filled in the creation form. The latter is a long html-formatted description. When a course has no short description, a 75-character description is automatically created from the long description to put inside the short description. OPW: 2026165 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
Website administrators can now choose separate header background and text colors for the live chat button and the chat window. This helps businesses better match live chat with their brand and create a more consistent visitor experience.
Original PR description
This commit allow users to set up different colors for both the live chat button for website visitors and the chat window once the live chat button has been clicked. For both, the header background color and the text color can be set up. Task #2030383
Businesses can now choose to create one asset per item quantity on supplier bills for selected asset accounts. This makes asset tracking more accurate when buying multiple identical items, such as five laptops generating five separate assets instead of one combined asset.
Original PR description
Add a setting allowing to manage items. Newly created assets for this kind of account (with the checkbox checked) will generate 1 asset per quantity set on the bill. e.g. If the bill line quantity is 5 then Odoo will generate 5 assets (instead of 1 global asset) task : https://www.odoo.com/web?#id=2081662&action=327&model=project.task&view_type=form&menu_id=4720
A new asset-account setting lets businesses track purchased items individually instead of grouping them into one asset. When enabled, a bill line with a quantity greater than one will automatically create one asset per item, improving asset tracking and depreciation management.
Original PR description
Add a setting allowing to manage items. Newly created assets for this kind of account (with the checkbox checked) will generate 1 asset per quantity set on the bill. e.g. If the bill line quantity is 5 then Odoo will generate 5 assets (instead of 1 global asset) task : https://www.odoo.com/web?#id=2081662&action=327&model=project.task&view_type=form&menu_id=4720
Code cleanup and technical improvements
Inventory transfer validation has been reorganized so multiple transfers can be checked and completed together more consistently. This prepares the system for clearer confirmation steps around immediate transfers and backorders, reducing friction in warehouse workflows and making future enhancements easier.
Original PR description
preliminary work for - task 1938108 (which is adding a pre action done wizard) - task 1938656 (which is adding another pre action done wizard) - task 2069646 (which will rework all pre action done wizard to select to pickings to apply)