Saturday, June 29, 2024
6 changes · saas-17.2
Miscellaneous changes
Problem: When a user creates an automated action to update a float type field to a value, the value does not get converted into a float, and a TypeError occurs. Purpose: Typecast the str value into a float, so no traceback error occurs. Steps to Reproduce on Runbot: 1. Install base_automation, CRM 2. Create an automated action: - Model: Lead/Opportunity - Trigger: On update - Trigger fields: Stage(crm.lead) - Action to do: Update the record - Data to write: {probability(crm.lead), v
Original PR description
Problem: When a user creates an automated action to update a float type field to a value, the value does not get converted into a float, and a TypeError occurs.
Purpose: Typecast the str value into a float, so no traceback error occurs.
Steps to Reproduce on Runbot:
1. Install base_automation, CRM
2. Create an automated action:
- Model: Lead/Opportunity
- Trigger: On update
- Trigger fields: Stage(crm.lead)
- Action to do: Update the record
- Data to write: {probability(crm.lead), value,20}
3. change the stage of a crm opportunity
4. Traceback error occurs TypeError: '>=' not supported between instances of 'str' and 'int'
opw-3962939
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#171203
Forward-Port-Of: odoo/odoo#167918[FIX] account: fix lines of reverse move The button "Reverse and Create Invoice" allows the user to reverse the current Invoice, and create a copy in one button. When pressing it, all Notes and Sections are lost Solution: Include 'line_section' & 'line_note' in creating the reverse move task-id#3940541 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#170925
Original PR description
[FIX] account: fix lines of reverse move The button "Reverse and Create Invoice" allows the user to reverse the current Invoice, and create a copy in one button. When pressing it, all Notes and Sections are lost Solution: Include 'line_section' & 'line_note' in creating the reverse move task-id#3940541 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#170925
Currently, an error occurs when producing a manufacturing order for a product whose tracking is by lot. Step to produce: - Install the 'mrp' module (ensure developer mode is enabled). - Go to Settings / Technical / Sequences & Identifiers / Sequences, Open 'stock.lot.serial' and add ''%default_code-%(month)s%(y)s-' as a prefix. - Create a new product by lots, Open 'Manufacturing Orders' and create an order with that new product. - Confirm this order, And then click on mark as done and
Original PR description
Currently, an error occurs when producing a manufacturing order for a product whose tracking is by lot. Step to produce: - Install the 'mrp' module (ensure developer mode is enabled). - Go to…
Currently, an error occurs when producing a manufacturing order for a product whose tracking is by lot. Step to produce: - Install the 'mrp' module (ensure developer mode is enabled). - Go to Settings / Technical / Sequences & Identifiers / Sequences, Open 'stock.lot.serial' and add ''%default_code-%(month)s%(y)s-' as a prefix. - Create a new product by lots, Open 'Manufacturing Orders' and create an order with that new product. - Confirm this order, And then click on mark as done and apply immediate production ```TypeError: %d format: a real number is required, not dict``` An error occurs when attempting to produce a manufacturing order of a product which have lot by serial numbers because the system tries to generate an invalid serial number at [1]. link [1]: https://github.com/odoo/odoo/blob/c7d420b077490108794f513e9ff21b0d850f57af/addons/stock/models/stock_production_lot.py#L89 To resolve the issue, raise a user error for an invalid sequence. sentry-5343084412 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#170916 Forward-Port-Of: odoo/odoo#165620
Clicking on the doc link for the "Packages" setting returns a 404 error. The structure of the Inventory documentation has been changed and it seems there was a missing redirection rule for this doc. This commit fixes the URL of the doc link. Forward-Port-Of: odoo/odoo#171020 Forward-Port-Of: odoo/odoo#170983
Original PR description
Clicking on the doc link for the "Packages" setting returns a 404 error. The structure of the Inventory documentation has been changed and it seems there was a missing redirection rule for this doc. This commit fixes the URL of the doc link. Forward-Port-Of: odoo/odoo#171020 Forward-Port-Of: odoo/odoo#170983
This requires adding the following elements to the customer invoice / credit note / sales receipt: - The recipient's SIREN/SIRET if any - Customer address, if different from billing address - Delivery address, if different from billing address - Type of operation: goods delivery, service delivery or mixed operation - Option to pay VAT on a debit basis All of that should be added as long as the issuer is french The billing/delivery addresses are customizable on a per-invoice basis S
Original PR description
This requires adding the following elements to the customer invoice / credit note / sales receipt: - The recipient's SIREN/SIRET if any - Customer address, if different from billing address - Delivery address, if different from billing address - Type of operation: goods delivery, service delivery or mixed operation - Option to pay VAT on a debit basis All of that should be added as long as the issuer is french The billing/delivery addresses are customizable on a per-invoice basis See: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000046383394 task-3856826 **Documentation PR:** odoo/documentation#9820 Forward-Port-Of: odoo/odoo#171275 Forward-Port-Of: odoo/odoo#162458
The Odoo Menu linked to the graphs would not be duplicated on sheet duplication. task-3810369 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#170794 Forward-Port-Of: odoo/odoo#167964
Original PR description
The Odoo Menu linked to the graphs would not be duplicated on sheet duplication. task-3810369 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#170794 Forward-Port-Of: odoo/odoo#167964