Tuesday, November 5, 2024
9 changes · master
Enhancements to existing features
This update standardizes how product units are named across sales orders and related business flows. The change helps Odoo share invoice and EDI logic more reliably, reducing inconsistencies across sales, accounting, purchasing, delivery, and point-of-sale processes.
Original PR description
This commit rename field `product_uom` on SOL to `product_uom_id` to be consistant with other model specifically with `account.move` in order to properly extract common logic from EDI for invoice. task-3791197 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
Partner contact cards now show clearer labels when a child contact has no specific name, using the contact type instead. Company-related contacts without a logo now show a building icon instead of a generic camera placeholder, making the contact list easier to read.
Original PR description
In the partner form, making sure that a child contact always have a name to display. If an explicit name wasn't specified, using the type. Not using the display name to prevent any wording repetitions. In the partner main kanban, if the contact is the child of a company without logo, do not display the camera picture but display the building icon as done in the card of that company. Task-4276450 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The online shop now checks product availability in a more consistent and efficient way, reducing unnecessary background work. This helps keep storefront product listings accurate while simplifying related inventory and rental logic.
Original PR description
* solve some remaining todos (avoid calling get_current_website to avoid useless queries) * Rely on `_product_domain` to check product availabilities. This allows to remove overrides in sale_renting (enterprise) See also odoo/enterprise#73304 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing work orders now track the last active worker as a single user, matching how the information is actually used. The related work center display and internal logic were cleaned up, making the feature clearer and easier to maintain without changing the business workflow.
Original PR description
Before this commit, the `mrp.workorder` field `last_working_user_id` was a `One2Many` field which doesn't make sense since this field is either false, either linked to a single `res.users` record (see compute method.) Make a bit of cleanings in `workcenter_line_kanban`. Also, rewrite a bit `_compute_working_users`: - Rename `order` into `user` since it is a `res.users` record; - Refactor a little all the `filter`'s to make it a little more easier to read. Enterprise PR: odoo/enterprise#72308
This update simplifies how the manufacturing work order quality view is customized, making it easier to maintain alongside community changes. It also improves avatar alignment in the kanban view for a cleaner visual presentation.
Original PR description
In the `mrp_workorder_view_kanban_inherit_quality`, both `after` and `attributes` xpath can be replaced by a single `replace` xoath. Also, target the field `last_working_user_id` to reflect community changes on the view, and remove the `mt-1` class because it out-centered the avatar image. Community PR: odoo/odoo#184339
This update removes outdated custom logic in online rental and UPS delivery flows now handled by the core system. It also updates subscription-related tests so the sales website features stay aligned and reliable after recent platform changes.
Original PR description
See odoo/odoo#186260
Public Knowledge pages can now show the toggle content block correctly. This improves the visitor experience by ensuring content created with this component appears as intended outside the editor.
Original PR description
This commit adds the new toggle embedded component to the embedding sets for the public version of knowledge. This way the component is correctly displayed on the frontend. task-2796594
The subscription payment process was simplified for cases where only one transaction is handled at a time. This is an internal cleanup that should help keep the invoicing code easier to maintain without changing the user experience.
Original PR description
_create_or_link_to_invoice is only called on single tx records. It can be simplified to be self.ensure_one(). task-id: 4138204
The update improves developer-facing documentation in the messaging area, making the code easier to understand and maintain. This is an internal quality improvement with no expected change to how users work in Odoo.