Skip to Content
Menu
This question has been flagged
2048 Views

Hi all,


I am using the german accounting chart SKR03 and I want to add some demo product data.

I would like to define the expense/income account of these products, but no matter what I define the accounts are always overridden with the default account.


I have also tried to solve it by defining the accounts for the product category but that's working either.


Here is my code: 


<record id="product_category_reduced_vat" model="product.category">
    <field name="parent_id" ref="product.product_category_all"/>
    <field name="name">Reduced VAT</field>
    <field name="property_account_income_categ_id" ref="l10n_de_skr03.account_8300" />
    <field name="property_account_expense_categ_id" ref="l10n_de_skr03.account_3300" />
</record>

The products have always the account_8400/account_3400 set, when I install my module.

Can anyone tell me what I am missing?

Avatar
Discard