openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #07103
[Merge] lp:~openerp-dev/openobject-addons/trunk-usability-pos-apa into lp:~openerp-dev/openobject-addons/trunk-usability
Amit (Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-usability-pos-apa into lp:~openerp-dev/openobject-addons/trunk-usability.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-usability-pos-apa/+merge/61735
[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."
Thanks,
Amit
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-usability-pos-apa/+merge/61735
Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-dev/openobject-addons/trunk-usability-pos-apa into lp:~openerp-dev/openobject-addons/trunk-usability.
=== modified file 'point_of_sale/account_statement_demo.xml'
--- point_of_sale/account_statement_demo.xml 2011-01-14 00:11:01 +0000
+++ point_of_sale/account_statement_demo.xml 2011-05-20 10:29:27 +0000
@@ -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>
=== modified file 'point_of_sale/account_statement_view.xml'
--- point_of_sale/account_statement_view.xml 2011-02-10 16:56:48 +0000
+++ point_of_sale/account_statement_view.xml 2011-05-20 10:29:27 +0000
@@ -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>
=== modified file 'point_of_sale/point_of_sale_demo.xml'
--- point_of_sale/point_of_sale_demo.xml 2011-01-14 00:11:01 +0000
+++ point_of_sale/point_of_sale_demo.xml 2011-05-20 10:29:27 +0000
@@ -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>
=== modified file 'point_of_sale/point_of_sale_view.xml'
--- point_of_sale/point_of_sale_view.xml 2011-05-19 09:51:58 +0000
+++ point_of_sale/point_of_sale_view.xml 2011-05-20 10:29:27 +0000
@@ -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>
Follow ups