Browse Source

[FIX] demo data. Cash move reason should not be purchasable / saleable

pull/456/head
Sylvain LE GAL 5 years ago
parent
commit
2c0eb87bc2
  1. 4
      pos_cash_move_reason/demo/product_template.xml

4
pos_cash_move_reason/demo/product_template.xml

@ -8,12 +8,16 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<record id="income_reason" model="product.template"> <record id="income_reason" model="product.template">
<field name="name">Miscellaneous income</field> <field name="name">Miscellaneous income</field>
<field name="sale_ok" eval="False"/>
<field name="purchase_ok" eval="False"/>
<field name="income_pdt" eval="True" /> <field name="income_pdt" eval="True" />
<field name="property_account_income" ref="account.o_income"/> <field name="property_account_income" ref="account.o_income"/>
</record> </record>
<record id="expense_reason" model="product.template"> <record id="expense_reason" model="product.template">
<field name="name">Miscellaneous expense</field> <field name="name">Miscellaneous expense</field>
<field name="sale_ok" eval="False"/>
<field name="purchase_ok" eval="False"/>
<field name="expense_pdt" eval="True" /> <field name="expense_pdt" eval="True" />
<field name="property_account_expense" ref="account.a_expense"/> <field name="property_account_expense" ref="account.a_expense"/>
</record> </record>

Loading…
Cancel
Save