Created
September 16, 2020 19:52
-
-
Save Danielericking/4f4b03764e6fe8c7bb3bcd704135f7b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record forcecreate="True" id="product_purchase_deposit_expense_hk" model="ir.property"> | |
<field name="name">property_account_expense_id</field> | |
<field name="fields_id" search="[('model','=','product.template'),('name','=','property_account_expense_id')]"/> | |
<field name="res_id" eval="'product.template,'+str(ref('product_purchase_deposit'))"/> <!-- External ID --> | |
<field name="value" model="account.account" search="[('code','=','2300'),('company_id','=',ref('hbx_data.company_hbx_hk'))]" /> <!-- Odoo domain --> | |
<field name="company_id" ref="hbx_data.company_hbx_hk"/> <!-- External ID --> | |
</record> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment