Skip to content

Commit

Permalink
Merge PR #600 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by AaronHForgeFlow
  • Loading branch information
OCA-git-bot committed Oct 16, 2023
2 parents 079b21c + 9bdbe2c commit 67c9a18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion purchase_analytic/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Acsone SA/NV, Odoo Community Association (OCA)",
"category": "Purchase Management",
"website": "https://github.com/OCA/account-analytic",
"depends": ["purchase"],
"depends": ["purchase", "base_view_inheritance_extension"],
"data": ["views/purchase_views.xml"],
"license": "AGPL-3",
"installable": True,
Expand Down
8 changes: 5 additions & 3 deletions purchase_analytic/views/purchase_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
/>
</field>
<field name="order_line" position="attributes">
<attribute
name="context"
>{'default_account_analytic_id': project_id}</attribute>
<attribute name="context" operation="update">
{
"default_account_analytic_id": project_id,
}
</attribute>
</field>
</field>
</record>
Expand Down

0 comments on commit 67c9a18

Please sign in to comment.