Monday, October 28, 2019
8 changes
New functionality added to Odoo
This update adds a signature option to delivery orders, allowing customers to sign when receiving goods. It also introduces a reusable signature button in forms, improving proof of delivery and record keeping.
Original PR description
:one: __[IMP] web: add widget signature__ > Adding a new widget to display a sign button in the form view. :two: __[IMP] stock: add signature field on picking__ > On a delivery type picking, adds a button to able the partner to sign delivery on receipt.
Enhancements to existing features
Inventory screens now show available quantity separately from reserved stock, giving teams a clearer view of what can actually be used or sold. The update also improves quantity display for locations outside standard warehouse structures, such as subcontracting, and fixes an availability calculation issue caused by missing context.
Point of Sale users can now set or change a customer's preferred language directly from the POS customer details screen. This helps stores keep customer records accurate and supports better communication in the customer's chosen language.
Original PR description
Now we can change the language of the customer inside the POS front end. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website pages and routes now need to be explicitly marked before they appear in the sitemap, reducing accidental listings and duplicate or empty content. The update also automatically filters sitemap entries by the current website where relevant, improving sitemap accuracy for multi-website setups.
Original PR description
From now, you need to explicitely add sitemap=True if you want your controller
into the sitemap.
It's the default value, but if you forgot it, it will raise a Warning on runbot.
It will avoid wrong controller in sitemap and duplicate (empty) content.
From now, if your model contains a field website_id, the modelConverter for
sitemap will automatically add the domain:
"[('website_id', 'in', (False, current_website_id))]"
It avoid redundant declaration and ugly url in redirect/rewrite view.
Migration: need to remove it from url_from in website.rewrite
task-2065018
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-prWhen a manufacturing order depends on another order for raw materials, cancelling the related order now raises a clear warning on the main order. This helps teams spot missing materials earlier and avoid confusion in multi-level production workflows.
Original PR description
Task Id : https://www.odoo.com/web?#id=1819526&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.07d74196f83d96889fb1e9dd0ed6761b
Website editors can now create section links automatically instead of manually choosing anchor names in a modal. The generated link is based on the section title or snippet name, copied to the clipboard, and can still be edited with more flexible naming including emojis.
Original PR description
Previously, the user could choose their anchor names using a modal window, anchor names also have weird rules, this was not a great user experience. This commit makes the anchor button generate anchors automatically based on the first title in a section, or the snippet name if there are none. If the anchor name is already taken, it is suffixed by a number. After it has been generated, it is also copied to the clipboard and the user is shown a toast to tell them the anchor has been generated and copied. The anchor is displayed in the toast along with an edit button that will open the same edition modal as previously, but it is now less restrictive (they now even support emojis! 💩) task-2088270
Website pages now need to be explicitly marked before they are included in the sitemap, helping prevent duplicate or empty pages from appearing in search engine indexes. Website-specific records are also filtered automatically, reducing configuration mistakes and keeping redirects and rewritten URLs cleaner.
Original PR description
From now, you need to explicitely add sitemap=True if you want your controller
into the sitemap.
It's the default value, but if you forgot it, it will raise a Warning on runbot.
It will avoid wrong controller in sitemap and duplicate (empty) content.
From now, if your model contains a field website_id, the modelConverter for
sitemap will automatically add the domain:
"[('website_id', 'in', (False, current_website_id))]"
It avoid redundant declaration and ugly url in redirect/rewrite view.
Migration: need to remove it from url_from in website.rewrite
task-2065018Odoo can now create one fixed asset for each item quantity on a supplier bill line when the related account is configured for item management. This helps businesses track and depreciate individual purchased items separately instead of combining them into one asset.
Original PR description
[IMP] account_asset: Creation of multiple assets from one move line 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