[IMP]:point_of_sale:
Added two products in the module data : - "Cash In" with field "Product for Input" set (it must appear in Point of Sale / Configuration / Products for Input Operations) - "Cash Out" with field "Product for expenses" set (it must appear in Point of Sale / Configuration / Products for Output Operations) Rename the fields: - income_pdt as "Product for Input Operation" - expense_pdt as "Product for Output Operation" In Journal view (Accounting/Configuration/Financial Accounting/ Journals/Journals): - Changed the label "Users" to "POS Users. - Fixed separator label "Extended Configureation" -> "Extended Configuration. - In demo data, the journal type "Cash" should have field check_dtls set. - Renamed "check details" into "Check Cash Balance." bzr revid: apa@tinyerp.com-20110520101607-5ilo2t7zna392s63
This commit is contained in:
parent
dad7ce2021
commit
7c3c895631
|
@ -5,6 +5,7 @@
|
|||
<field name="name">Visa Journal</field>
|
||||
<field name="code">VIJ</field>
|
||||
<field name="type">cash</field>
|
||||
<field eval="1" name="check_dtls"/>
|
||||
<field name="view_id" ref="account.account_journal_view"/>
|
||||
<field name="sequence_id" ref="account.sequence_journal"/>
|
||||
<field model="account.account" name="default_credit_account_id" ref="account.a_sale"/>
|
||||
|
@ -30,6 +31,7 @@
|
|||
<field name="name">Bancontact Journal</field>
|
||||
<field name="code">BACJ</field>
|
||||
<field name="type">cash</field>
|
||||
<field eval="1" name="check_dtls"/>
|
||||
<field name="view_id" ref="account.account_journal_view"/>
|
||||
<field name="sequence_id" ref="account.sequence_journal"/>
|
||||
<field model="account.account" name="default_credit_account_id" ref="account.a_sale"/>
|
||||
|
@ -68,6 +70,7 @@
|
|||
|
||||
<record id="account.cash_journal" model="account.journal">
|
||||
<field eval="[(6,0,[ref('base.user_root')])]" name="journal_users"/>
|
||||
<field eval="1" name="check_dtls"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
<xpath expr="//notebook[last()]" position="inside">
|
||||
<page string="Point of Sale">
|
||||
<group col="6" colspan="4">
|
||||
<separator colspan="6" string="Extended Configureation"/>
|
||||
<field name="check_dtls" groups="point_of_sale.group_pos_manager"/>
|
||||
<separator colspan="6" string="Extended Configuration"/>
|
||||
<field name="check_dtls" groups="point_of_sale.group_pos_manager" string="Check Cash Balance"/>
|
||||
<field name="auto_cash"/>
|
||||
<field name="special_journal"/>
|
||||
</group>
|
||||
<separator colspan="4" string="Users"/>
|
||||
<separator colspan="4" string="POS Users"/>
|
||||
<field name="journal_users" nolabel="1" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
|
|
|
@ -7,6 +7,24 @@
|
|||
<record id="account.cash_journal" model="account.journal">
|
||||
<field eval="[(6, 0, [ref('base.user_root')])]" name="journal_users"/>
|
||||
</record>
|
||||
|
||||
<record id="product_product_putmoneyforchange0" model="product.product">
|
||||
<field name="supply_method">buy</field>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="name_template">Cash In</field>
|
||||
<field name="property_account_income" ref="account.cash"/>
|
||||
<field name="name">Cash In</field>
|
||||
<field eval="1" name="income_pdt"/>
|
||||
</record>
|
||||
|
||||
<record id="product_product_putmoneyforchange1" model="product.product">
|
||||
<field name="supply_method">buy</field>
|
||||
<field name="uom_id" ref="product.product_uom_unit"/>
|
||||
<field name="name_template">Cash Out</field>
|
||||
<field name="property_account_income" ref="account.cash"/>
|
||||
<field name="name">Cash Out</field>
|
||||
<field eval="1" name="expense_pdt"/>
|
||||
</record>
|
||||
|
||||
<record id="account_invoice_invoicefrompospos0" model="account.invoice">
|
||||
<field name="origin">POS/019</field>
|
||||
|
|
|
@ -657,8 +657,8 @@
|
|||
<xpath expr="/form/notebook/page/group[@name='misc']" position="before">
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Point of Sale" colspan="2"/>
|
||||
<field name="income_pdt"/>
|
||||
<field name="expense_pdt"/>
|
||||
<field name="income_pdt" string="Product for Input Operation"/>
|
||||
<field name="expense_pdt" string="Product for Output Operation"/>
|
||||
<field name="am_out"/>
|
||||
<field name="disc_controle"/>
|
||||
</group>
|
||||
|
|
Loading…
Reference in New Issue