[16.0][FIX] account_move_line_purchase_info: purchase order line name
This commit is contained in:
parent
f684695a91
commit
7741880d65
@ -9,7 +9,7 @@
|
||||
"author": "ForgeFlow, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
"category": "Generic",
|
||||
"depends": ["purchase_stock"],
|
||||
"depends": ["purchase_stock", "base_view_inheritance_extension"],
|
||||
"license": "AGPL-3",
|
||||
"data": [
|
||||
"security/account_security.xml",
|
||||
|
@ -80,7 +80,6 @@
|
||||
>
|
||||
<field
|
||||
name="purchase_line_id"
|
||||
context="{'po_line_info': True}"
|
||||
optional="hide"
|
||||
groups="account_move_line_purchase_info.group_account_move_purchase_info"
|
||||
/>
|
||||
@ -96,7 +95,6 @@
|
||||
>
|
||||
<field
|
||||
name="purchase_line_id"
|
||||
context="{'po_line_info': True}"
|
||||
groups="account_move_line_purchase_info.group_account_move_purchase_info"
|
||||
/>
|
||||
<field
|
||||
@ -104,6 +102,11 @@
|
||||
groups="account_move_line_purchase_info.group_account_move_purchase_info"
|
||||
/>
|
||||
</xpath>
|
||||
<field name="line_ids" position="attributes">
|
||||
<attribute name="context" operation="update">{
|
||||
"po_line_info": True,
|
||||
}</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user