Skip to content

Commit

Permalink
[MIG] sale_order_lot_selection: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lef-adhoc committed Nov 14, 2024
1 parent fa85678 commit 6732535
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sale_order_lot_selection/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sale Order Lot Selection",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"category": "Sales Management",
"author": "Odoo Community Association (OCA), Agile Business Group",
"website": "https://github.com/OCA/sale-workflow",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def test_02_sale_order_lot_selection(self):
picking_out.action_assign()
picking_out._action_done()

self.product_46.write({"tracking": "lot", "type": "product"})
self.product_12.write({"tracking": "lot", "type": "product"})
self.product_46.write({"tracking": "lot", "type": "consu"})
self.product_12.write({"tracking": "lot", "type": "consu"})

# make products enter
picking_in = self.env["stock.picking"].create(
Expand Down
4 changes: 2 additions & 2 deletions sale_order_lot_selection/views/sale_order_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='order_line']/tree/field[@name='product_template_id']"
expr="//field[@name='order_line']/list/field[@name='product_template_id']"
position="after"
>
<field
Expand All @@ -16,7 +16,7 @@
/>
</xpath>
<xpath
expr="//field[@name='order_line']/form/group/group/field[@name='product_id']"
expr="//field[@name='order_line']/form/group/group/div/field[@name='product_id']"
position="after"
>
<field
Expand Down

0 comments on commit 6732535

Please sign in to comment.