Daily updates from Odoo
Saturday, November 9, 2024
6 changes
3 changes
Miscellaneous changes
Before this commit, the following selector could crash when the language is different than english: `//th[contains(text(), 'Task')]" position="replace">` Indeed, because `Task` will be translated and so `Task` will no longer find as text. This commit replaces that selector to make sure we no longer use a translated term in the xpath selector. Forward-Port-Of: odoo/enterprise#73616
Original PR description
Before this commit, the following selector could crash when the language is different than english: `//th[contains(text(), 'Task')]" position="replace">` Indeed, because `Task` will be translated and so `Task` will no longer find as text. This commit replaces that selector to make sure we no longer use a translated term in the xpath selector. Forward-Port-Of: odoo/enterprise#73616
Before this commit, the `Extra Quotations` setting displayed in the form view of `project.project` model does not take the maximal width available on larger screen. This commit makes sure the width of that setting takes all available space as the other settings. task-4294845 Forward-Port-Of: odoo/enterprise#73323
Original PR description
Before this commit, the `Extra Quotations` setting displayed in the form view of `project.project` model does not take the maximal width available on larger screen. This commit makes sure the width of that setting takes all available space as the other settings. task-4294845 Forward-Port-Of: odoo/enterprise#73323
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH: WH/Shed - Inventory > Configuration > Warehouse Management > Routes - Copy the Rental route and set as applicatble on Sales order lines - On that custom route add a custom pull rule to generate the delivery: - Pull rule, source: Partner/customer/Rental, destination: WH/Shed, make_to_stock,
Original PR description
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH:…
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH: WH/Shed - Inventory > Configuration > Warehouse Management > Routes - Copy the Rental route and set as applicatble on Sales order lines - On that custom route add a custom pull rule to generate the delivery: - Pull rule, source: Partner/customer/Rental, destination: WH/Shed, make_to_stock, delivery (should create a delivery from WH/Shed to Partner/customer/Rental if a need appears there.) - Create a rental order with one line: - 1 x a rentable product + set route to the custom rental route - Confirm the rental order #### > 2 pickings were created using the default rental route rather than the custom rental route set on the line. ### Cause of the issue: During the `action_confirm` of the rental `sale.order` the `action_launch_stock_rule` is trigged on the sale order lines of the order to create and run the procurements that will generate the associated pickings: https://github.com/odoo/odoo/blob/22d09b6f9463a803dcd862455207ef700dd74408/addons/sale_stock/models/sale_order.py#L150-L152 However, if the procurement is generated from a rental order line and the rental tranfer is enabled, the route used for the procurment will be harcoded here: https://github.com/odoo/enterprise/blob/bdfea75c986af2d0ed91aae4178a29f1f450c2ea/sale_stock_renting/models/sale_order_line.py#L337-L340 rather than using the values previously set by the line: https://github.com/odoo/odoo/blob/22d09b6f9463a803dcd862455207ef700dd74408/addons/sale_stock/models/sale_order_line.py#L243 opw-4268117 --- Forward-Port-Of: odoo/enterprise#73362 Forward-Port-Of: odoo/enterprise#73306
3 changes
Resolved issues and error corrections
The helpdesk timesheet portal view was updated so it no longer depends on an English label when locating page content. This prevents crashes or broken display for users working in languages other than English.
Original PR description
Before this commit, the following selector could crash when the language is different than english: `//th[contains(text(), 'Task')]" position="replace">` Indeed, because `Task` will be translated and so `Task` will no longer find as text. This commit replaces that selector to make sure we no longer use a translated term in the xpath selector.
Miscellaneous changes
Before this commit, the `Extra Quotations` setting displayed in the form view of `project.project` model does not take the maximal width available on larger screen. This commit makes sure the width of that setting takes all available space as the other settings. task-4294845 Forward-Port-Of: odoo/enterprise#73323
Original PR description
Before this commit, the `Extra Quotations` setting displayed in the form view of `project.project` model does not take the maximal width available on larger screen. This commit makes sure the width of that setting takes all available space as the other settings. task-4294845 Forward-Port-Of: odoo/enterprise#73323
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH: WH/Shed - Inventory > Configuration > Warehouse Management > Routes - Copy the Rental route and set as applicatble on Sales order lines - On that custom route add a custom pull rule to generate the delivery: - Pull rule, source: Partner/customer/Rental, destination: WH/Shed, make_to_stock,
Original PR description
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH:…
### Steps to reproduce: - In the settings: enable "Multi-Step Routes" and "Rental Transfers" - Inventory > Configuration > Warehouse Management > Locations - Create an internal child location of WH: WH/Shed - Inventory > Configuration > Warehouse Management > Routes - Copy the Rental route and set as applicatble on Sales order lines - On that custom route add a custom pull rule to generate the delivery: - Pull rule, source: Partner/customer/Rental, destination: WH/Shed, make_to_stock, delivery (should create a delivery from WH/Shed to Partner/customer/Rental if a need appears there.) - Create a rental order with one line: - 1 x a rentable product + set route to the custom rental route - Confirm the rental order #### > 2 pickings were created using the default rental route rather than the custom rental route set on the line. ### Cause of the issue: During the `action_confirm` of the rental `sale.order` the `action_launch_stock_rule` is trigged on the sale order lines of the order to create and run the procurements that will generate the associated pickings: https://github.com/odoo/odoo/blob/22d09b6f9463a803dcd862455207ef700dd74408/addons/sale_stock/models/sale_order.py#L150-L152 However, if the procurement is generated from a rental order line and the rental tranfer is enabled, the route used for the procurment will be harcoded here: https://github.com/odoo/enterprise/blob/bdfea75c986af2d0ed91aae4178a29f1f450c2ea/sale_stock_renting/models/sale_order_line.py#L337-L340 rather than using the values previously set by the line: https://github.com/odoo/odoo/blob/22d09b6f9463a803dcd862455207ef700dd74408/addons/sale_stock/models/sale_order_line.py#L243 opw-4268117 --- Forward-Port-Of: odoo/enterprise#73362 Forward-Port-Of: odoo/enterprise#73306