Skip to content

Commit

Permalink
[MIG] account_move_line_sale_info: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelAForgeFlow committed Feb 19, 2025
1 parent 11559a0 commit 0506b20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion account_move_line_sale_info/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Account Move Line Sale Info",
"summary": "Introduces the purchase order line to the journal items",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"author": "ForgeFlow S.L., " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Generic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _create_account(self, acc_type, name, code, company):
"name": name,
"code": code,
"account_type": acc_type,
"company_id": company.id,
"company_ids": [(6, 0, [company.id])],
}
)
return account
Expand All @@ -108,9 +108,10 @@ def _create_product(self):
{
"name": "test_product",
"categ_id": product_ctg.id,
"type": "product",
"type": "consu",
"standard_price": 1.0,
"list_price": 1.0,
"is_storable": True,
}
)
return product
Expand Down
2 changes: 1 addition & 1 deletion account_move_line_sale_info/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='line_ids']/tree//field[@name='partner_id']"
expr="//field[@name='line_ids']//field[@name='partner_id']"
position="after"
>
<field
Expand Down

0 comments on commit 0506b20

Please sign in to comment.