[FIX] Relation with product category
bzr revid: maxime.chambreuil@savoirfairelinux.com-20121030151247-1qiwar11sommvhfl
This commit is contained in:
parent
df765fab23
commit
64f21c8278
|
@ -16,12 +16,12 @@
|
|||
|
||||
<record id="stock.property_stock_account_input_categ" model="ir.property">
|
||||
<field eval="'account.account,'+str(ref('chart2161_fr'))" model="account.account" name="value"/>
|
||||
<field eval="'product.category,'+str(ref('product.cat0'))" model="product.category" name="res_id"/>
|
||||
<field eval="'product.category,'+str(ref('product.product_category_all'))" model="product.category" name="res_id"/>
|
||||
</record>
|
||||
|
||||
<record id="stock.property_stock_account_output_categ" model="ir.property">
|
||||
<field eval="'account.account,'+str(ref('chart1145_fr'))" model="account.account" name="value"/>
|
||||
<field eval="'product.category,'+str(ref('product.cat0'))" model="product.category" name="res_id"/>
|
||||
<field eval="'product.category,'+str(ref('product.product_category_all'))" model="product.category" name="res_id"/>
|
||||
</record>
|
||||
|
||||
<record id="property_stock_valuation_account_id" model="ir.property">
|
||||
|
@ -29,7 +29,7 @@
|
|||
<field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_valuation_account_id')]"/>
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field eval="'account.account,'+str(ref('chart1141_fr'))" model="account.account" name="value"/>
|
||||
<field eval="'product.category,'+str(ref('product.cat0'))" model="product.category" name="res_id"/>
|
||||
<field eval="'product.category,'+str(ref('product.product_category_all'))" model="product.category" name="res_id"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue