Daily updates from Odoo
Tuesday, September 20, 2022
9 changes
Enhancements to existing features
Several help tooltips were rewritten, added, or removed to make on-screen guidance clearer and more accurate in English. This improves everyday usability by reducing outdated or confusing explanations in project, field service, documents, and planning-related workflows.
Original PR description
In this commit we rewrite some tooltips because some of them are not correct in English and others are not valid anymore.Add some tooltips that could be missing and remove some tooltips that are not valid anymore
Sendcloud shipping can now match sender addresses using the warehouse label as well as the contact name. This makes address selection more flexible and reduces setup friction for businesses using warehouse labels.
Original PR description
Before this commit, we used to search for a sender address with the contact name set as the warehouse name, now the label field can be used instead.
Resolved issues and error corrections
Fixes an error that occurred when users selected a color for document tags while sharing a document. This keeps the document sharing flow stable and avoids interruptions for users managing shared document labels.
Original PR description
Reproduction steps - Install documents app - Select the document - Shere the document - Click on the documents tags - Select the color task-2978632
This fixes an issue where Planning screens could place fields incorrectly because inherited views matched the wrong company field. Users should now see Planning list and form layouts in the intended order again.
Original PR description
Prior to this commit and since odoo/enterprise#29592 the `xpath` that are using `company_id` in the views that inherit `planning_view_tree` and `planning_view_form` are no more working as the `xpath` targets the first match. This commit fixes this issue. task-2989163
Miscellaneous changes
Reproduction: 1. Install Accounting, l10n_mx, l10n_mx_edi. Create a company and set the country as Mexico 2. Go to Accounting -> Customer -> Invoices, create an invoice with Deco Addict, in the customer page of Deco Addict, in tab Sales&Purchases, toggle Need external trade. 3. In the invoice, the form view of invoice lines has more columns: Qty UMT and UMT Aduana. When switching to another customer, these two columns disappear 4. Install l10n_mx_edi_extended_40, create a new invoice, these
Original PR description
Reproduction: 1. Install Accounting, l10n_mx, l10n_mx_edi. Create a company and set the country as Mexico 2. Go to Accounting -> Customer -> Invoices, create an invoice with Deco Addict, in the customer page of Deco Addict, in tab Sales&Purchases, toggle Need external trade. 3. In the invoice, the form view of invoice lines has more columns: Qty UMT and UMT Aduana. When switching to another customer, these two columns disappear 4. Install l10n_mx_edi_extended_40, create a new invoice, these two columns appear no matter if the customer choose the new values. Reason: wrong value used for column_invisible and invisible attributes of these fields in account_move_view Fix: set the correct values for the conditions based on the new value selections opw-2968733 Related commit: https://github.com/odoo-dev/enterprise/commit/9f24fee7c9ab25d937f6e99ae09ef6f898a09e1c Forward-Port-Of: odoo/enterprise#31339
Steps to reproduce: - Install hr and subscription - Set no subscription rights and admin hr rights on a user - Try to archive an employee Current behavior: Error for access rights to sale.subscription Expected behavior: No error Explanation: when we write the active to false of the res.partner (corresponding to the employee.address_home_id) there is an issue as you need the rights to search and modify the sale subscritpions. You should not need the rights for this access to sale.s
Original PR description
Steps to reproduce: - Install hr and subscription - Set no subscription rights and admin hr rights on a user - Try to archive an employee Current behavior: Error for access rights to sale.subscription Expected behavior: No error Explanation: when we write the active to false of the res.partner (corresponding to the employee.address_home_id) there is an issue as you need the rights to search and modify the sale subscritpions. You should not need the rights for this access to sale.subscription hence we add a sudo to solve the issue. opw-2974590 Forward-Port-Of: odoo/enterprise#31482 Forward-Port-Of: odoo/enterprise#31193
Enterprise part of odoo/odoo#100573
Original PR description
Enterprise part of odoo/odoo#100573
Following d3ea349, the values provided in the evaluation context for auto-fields is in a key named `auto_value`, to avoid confusion with the name of the field itself. However, a bugfix in 15.0 was forward-ported with the outdated naming in 0f42d1d, which broke the auto-field auto-filling. This commit sets the key to its appropriate value to restore the functionnality. Forward-Port-Of: odoo/enterprise#31341
Original PR description
Following d3ea349, the values provided in the evaluation context for auto-fields is in a key named `auto_value`, to avoid confusion with the name of the field itself. However, a bugfix in 15.0 was forward-ported with the outdated naming in 0f42d1d, which broke the auto-field auto-filling. This commit sets the key to its appropriate value to restore the functionnality. Forward-Port-Of: odoo/enterprise#31341
The prefix/suffix of the purchase order sequence can contain special characters that needs to be escaped when converting it to a regex. Forward-Port-Of: odoo/enterprise#31468
Original PR description
The prefix/suffix of the purchase order sequence can contain special characters that needs to be escaped when converting it to a regex. Forward-Port-Of: odoo/enterprise#31468