Daily updates from Odoo
Navigate
Branch
Friday, March 5, 2021
11 changes
New functionality added to Odoo
A new bridge between website appointments and CRM can automatically create a sales opportunity when a prospect books selected appointment types. The opportunity is assigned to the appointment's salesperson and sales team, tagged for appointment follow-up, and linked to a next activity so sales teams can act quickly.
Original PR description
Business Need ============= If a new prospect book a meeting with a random sales we want to have an opportunity directly created in the crm to follow up the relationship with this new prospect Feature added ============= Bridge module between website_calendar and crm This module allowed to generate opportunity based on appointement with very simple rule - Decide if the appointement type will generate an opportunity or not - Add choosen tags on the new opportunity The opportunity will always be assigned to the user of the appointment and his sales team Create a next activity with the event on the new opportunity Related: odoo/upgrade#2231
Enhancements to existing features
Batch payments now only include payments that have already been posted, preventing draft payments from being posted unexpectedly during batch validation. Users can no longer create new payments directly from the batch payment screen and instead get a clearer payment selection flow and improved error messages.
Original PR description
- Only allow posted payments to be added to a batch payment. This prevent implicit posting of draft payment when batch is validated. - Remove possibility to create new payments from the batch payment view. This for several reasons: the behavior was bugged; the view did not reflect the new payments views (task id = 2403336); newly created payments would be draft and therefore not be added to batch. - Add “Select Payment” button. - Correction of error message Task: 2464530
Code cleanup and technical improvements
This update streamlines how spreadsheet document settings are managed, reducing duplicated logic and making future maintenance safer. It also ensures spreadsheet thumbnails are resized when updated, improving visual consistency for users.
Original PR description
See commit messages ^^
Miscellaneous changes
…egative amount - Go to Accounting > Configuration > Chart of Accounts - Create an Account: * Type: Fixed Assets * Automate Asset: Create in Draft - Create 2 Products with the created Account as "Expense Account" - Go to Accounting > Vendors > Bills and create a Bill with the 2 Products - Make sure that one Product has a negative price - Post the Bill 2 assets are created for both Invoice Lines. The Invoice Line with the negative subtotal generates an asset with a positive value.
Original PR description
…egative amount - Go to Accounting > Configuration > Chart of Accounts - Create an Account: * Type: Fixed Assets * Automate Asset: Create in Draft - Create 2 Products with the created Account as "Expense Account" - Go to Accounting > Vendors > Bills and create a Bill with the 2 Products - Make sure that one Product has a negative price - Post the Bill 2 assets are created for both Invoice Lines. The Invoice Line with the negative subtotal generates an asset with a positive value. Assets should only be generated for Invoice Lines with a positive subtotal. opw-2439293 Forward-Port-Of: odoo/enterprise#16851 Forward-Port-Of: odoo/enterprise#16438
Issue - Install "quality_mrp_workorder" module - Go to Quality -> Control Points, and create a new one - Select a Product (not related to a BOM) - Select (only) '*Company*: Manufacturing' for 'Operations' field Selected product is still available. Cause When computing availables products (because update of picking_type_ids field), not updating selected products. Solution - Do not filter products if Quality Point have no bom_id - On computing 'available_product_ids
Original PR description
Issue - Install "quality_mrp_workorder" module - Go to Quality -> Control Points, and create a new one - Select a Product (not related to a BOM) - Select (only) '*Company*: Manufacturing' for 'Operations' field Selected product is still available. Cause When computing availables products (because update of picking_type_ids field), not updating selected products. Solution - Do not filter products if Quality Point have no bom_id - On computing 'available_product_ids', remove/filter selected products not in availables products. opw-2450827 Forward-Port-Of: odoo/enterprise#16621
- On Sign > Configuration > Roles; - Set 'SMS Authentication' on for Customer; - Go tu Sign > Sign Now > Add Customer; - Validate Signed Document; - Send SMS to valid phone; - Add validation code. Before this commit, an error was raised. Now, a success message is shown. opw-2466146 Forward-Port-Of: odoo/enterprise#16824
Original PR description
- On Sign > Configuration > Roles; - Set 'SMS Authentication' on for Customer; - Go tu Sign > Sign Now > Add Customer; - Validate Signed Document; - Send SMS to valid phone; - Add validation code. Before this commit, an error was raised. Now, a success message is shown. opw-2466146 Forward-Port-Of: odoo/enterprise#16824
Purpose ======= Some computed stored editable fields are computed in the same method. In that case, when one of the value is provided in a create / write call, the computed method is not called and other fields computed in the same method do not have the right value. Task 2377119 COM odoo/odoo/pull/65772 ENT odoo/enterprise/pull/16221 Forward-Port-Of: odoo/enterprise#16762 Forward-Port-Of: odoo/enterprise#16221
Original PR description
Purpose ======= Some computed stored editable fields are computed in the same method. In that case, when one of the value is provided in a create / write call, the computed method is not called and other fields computed in the same method do not have the right value. Task 2377119 COM odoo/odoo/pull/65772 ENT odoo/enterprise/pull/16221 Forward-Port-Of: odoo/enterprise#16762 Forward-Port-Of: odoo/enterprise#16221
In the CRM application you can see your opportunities in a map view. From the map view in Odoo, you can click on a button to go to Google Maps and to see your opportunities there. Issue: when you go to Google Maps, your filters are lost. with this fix you can see your opportunities on google map correctly. Task Id:2275169 Forward-Port-Of: odoo/enterprise#16759 Forward-Port-Of: odoo/enterprise#16218
Original PR description
In the CRM application you can see your opportunities in a map view. From the map view in Odoo, you can click on a button to go to Google Maps and to see your opportunities there. Issue: when you go to Google Maps, your filters are lost. with this fix you can see your opportunities on google map correctly. Task Id:2275169 Forward-Port-Of: odoo/enterprise#16759 Forward-Port-Of: odoo/enterprise#16218
Steps to reproduce the error: - Create an invoice with quantity 0.0 - Validate This will display a traceback: ``` File "/home/odoo/enterprise/l10n_mx_edi/models/account_edi_format.py", line 184, in _l10n_mx_edi_get_invoice_line_cfdi_values cfdi_values['price_subtotal_unit'] = invoice.currency_id.round(cfdi_values['total_wo_discount'] / line.quantity) ``` Same fix that https://github.com/odoo/enterprise/commit/8ab7f69f92b4da42df9aaf38d66be636a3824944 opw#2477033 Forward-Po
Original PR description
Steps to reproduce the error:
- Create an invoice with quantity 0.0
- Validate
This will display a traceback:
```
File "/home/odoo/enterprise/l10n_mx_edi/models/account_edi_format.py", line 184, in _l10n_mx_edi_get_invoice_line_cfdi_values
cfdi_values['price_subtotal_unit'] = invoice.currency_id.round(cfdi_values['total_wo_discount'] / line.quantity)
```
Same fix that https://github.com/odoo/enterprise/commit/8ab7f69f92b4da42df9aaf38d66be636a3824944
opw#2477033
Forward-Port-Of: odoo/enterprise#16868Purpose ======= The current autocomplete value (none) is not recognized by any browser. But the official one is not respected by some browsers like the oldest chrome version. Instead of generating a pseudo-random value for each box, it seems that new-password is compatible with all the current browsers. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#browser_compatibility Forward-Port-Of: odoo/enterprise#16846
Original PR description
Purpose ======= The current autocomplete value (none) is not recognized by any browser. But the official one is not respected by some browsers like the oldest chrome version. Instead of generating a pseudo-random value for each box, it seems that new-password is compatible with all the current browsers. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#browser_compatibility Forward-Port-Of: odoo/enterprise#16846
PR to add es.po and spanish translation to the module. Forward-Port-Of: odoo/enterprise#16530
Original PR description
PR to add es.po and spanish translation to the module. Forward-Port-Of: odoo/enterprise#16530