Thursday, December 26, 2019
13 changes · master
Enhancements to existing features
The settings page now adjusts wording based on whether there is one or multiple companies or languages. This makes the interface clearer and more natural for users configuring their Odoo environment.
Original PR description
Description of the issue/feature this PR addresses: Better wording according to count of languages and companies 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
Resolved issues and error corrections
This fixes an issue where a customer’s sales ranking could be increased twice when a point of sale order was processed. The change keeps customer ranking accurate and avoids overstating customer sales activity.
Original PR description
It is a partial revert of the commit: https://github.com/odoo-dev/odoo/commit/36c05f5e056794d68c363343e267c592bd9bce31 because the behavior has been fixed in stable in commit https://github.com/odoo/odoo/commit/577dac5baee5e503baba9f30dff67e69daafa00b almost at the same time. So no need of double increade the ranking of a sale in the POS. 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
Miscellaneous changes
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=2083006&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.784e76353a209d81dc5b001ed8453f09 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 Forward-Port-Of: odoo/odoo#38994
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=2083006&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.784e76353a209d81dc5b001ed8453f09 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 Forward-Port-Of: odoo/odoo#38994
A small issue in the website tour helper prevented text-related actions from being passed along correctly. This fix restores the expected behavior so website editor panel tests and related guided interactions work reliably.
Original PR description
The event is not bubbling and causing the new website left panel editor tests to fail. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Create a repair order for some product tracket by SN. User is able to specify the quantity of items to be repaired. This is purely graphical as the SN will determine the quantity (1) but may confuse the user opw-2160595 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#42239
Original PR description
Create a repair order for some product tracket by SN. User is able to specify the quantity of items to be repaired. This is purely graphical as the SN will determine the quantity (1) but may confuse the user opw-2160595 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#42239
The `language_ids` field on `res.config.settings` was made required field. However, in a multi-company setting, where the active company does not have a website, this field will be empty, and the user won't be able to save any configuration changes. This is related to #34430 and undoes part of that change. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#42313 Forward-Port-Of: odoo/odoo#41027
Original PR description
The `language_ids` field on `res.config.settings` was made required field. However, in a multi-company setting, where the active company does not have a website, this field will be empty, and the user won't be able to save any configuration changes. This is related to #34430 and undoes part of that change. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#42313 Forward-Port-Of: odoo/odoo#41027
### Issue - Install CRM & Studio - Edit CRM kanban view - Add tags > select "tags" Traceback ### Cause _render is called multiple times, there is one case where `this.$el` is undefined. ### Solution Checking if `this.$el` exists before using it. **OPW-2156964** -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#42112
Original PR description
### Issue
- Install CRM & Studio
- Edit CRM kanban view
- Add tags > select "tags"
Traceback
### Cause
_render is called multiple times, there is one case where
`this.$el` is undefined.
### Solution
Checking if `this.$el` exists before using it.
**OPW-2156964**
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#42112- Set USD as company currency - Set the EUR rate to 1.5 - Create a product A: FIFO & automated, invoicing based on delivery - Create a pricelist in EUR - Buy some quantity @ 100 USD - Create a SO for 1 @ 200 EUR - Confirm the SO, validate the picking, generate the invoice - Post the invoice The COGS are incorrect: Stock Interim (Delivered): -150.00, 0.00, 100.00 Expense: 150.00, 100.00, 0.00 opw-2148171 Description of the issue/feature this PR addresses: Current behavior b
Original PR description
- Set USD as company currency - Set the EUR rate to 1.5 - Create a product A: FIFO & automated, invoicing based on delivery - Create a pricelist in EUR - Buy some quantity @ 100 USD - Create a SO for 1 @ 200 EUR - Confirm the SO, validate the picking, generate the invoice - Post the invoice The COGS are incorrect: Stock Interim (Delivered): -150.00, 0.00, 100.00 Expense: 150.00, 100.00, 0.00 opw-2148171 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 Forward-Port-Of: odoo/odoo#41943
`self` is a controller, not a model, thus we use the request to get the environment. opw-[2160614](https://www.odoo.com/web?debug#id=2160614&action=333&active_id=49&model=project.task&view_type=form&menu_id=4720) Forward-Port-Of: odoo/odoo#42346
Original PR description
`self` is a controller, not a model, thus we use the request to get the environment. opw-[2160614](https://www.odoo.com/web?debug#id=2160614&action=333&active_id=49&model=project.task&view_type=form&menu_id=4720) Forward-Port-Of: odoo/odoo#42346
Previous behavior: last_refresh is set after the sync of the first bank account Current behavior: the last_refresh is set after the sync of the last bank account and not after the first bank account opw-2149639 Forward-Port-Of: odoo/enterprise#7356
Original PR description
Previous behavior: last_refresh is set after the sync of the first bank account Current behavior: the last_refresh is set after the sync of the last bank account and not after the first bank account opw-2149639 Forward-Port-Of: odoo/enterprise#7356
Edit a product data changing its Product Category inventory valuation to AVCO. Update quantity on hand and save. Go to POS, create an order with such product, validate. Stacktrace will appear because when the product category has changed inventory valuation no 'stock_move_id' has been assigned to it. Adding a check to skip null records opw-2158365 Forward-Port-Of: odoo/enterprise#7422
Original PR description
Edit a product data changing its Product Category inventory valuation to AVCO. Update quantity on hand and save. Go to POS, create an order with such product, validate. Stacktrace will appear because when the product category has changed inventory valuation no 'stock_move_id' has been assigned to it. Adding a check to skip null records opw-2158365 Forward-Port-Of: odoo/enterprise#7422
In v13 is used zeep to connect with the PAC. In this case was improved the cancel process to allow cancel. Without this fix is returned: ```Código: Formato de UUIDS incorrecto``` Now the UUIDs are send correctly. Forward-Port-Of: odoo/enterprise#7382
Original PR description
In v13 is used zeep to connect with the PAC. In this case was improved the cancel process to allow cancel. Without this fix is returned: ```Código: Formato de UUIDS incorrecto``` Now the UUIDs are send correctly. Forward-Port-Of: odoo/enterprise#7382
Installed app : Document & Accounting 1. In Document Setting, check Accounting 2. Under "Journals" add the journal "Vendor Bills" with the workspace "Finance" 3. Choose any document and Create a vendor bill Traceback will occur, because the document will attempt to create an already existing document. After b5482ab the flow is changed and the document is already registered as attachment. opw-2149070 Forward-Port-Of: odoo/enterprise#7370
Original PR description
Installed app : Document & Accounting 1. In Document Setting, check Accounting 2. Under "Journals" add the journal "Vendor Bills" with the workspace "Finance" 3. Choose any document and Create a vendor bill Traceback will occur, because the document will attempt to create an already existing document. After b5482ab the flow is changed and the document is already registered as attachment. opw-2149070 Forward-Port-Of: odoo/enterprise#7370