[FIX] account, taxes report: removal of the option to print the report based on payme...
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Thu, 18 Aug 2011 16:49:07 +0000 (18:49 +0200)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Thu, 18 Aug 2011 16:49:07 +0000 (18:49 +0200)
bzr revid: qdp-launchpad@openerp.com-20110818164907-7lawl7jix5znezs2

addons/account/wizard/account_vat_view.xml

index 359add5..13f5d6e 100644 (file)
@@ -9,11 +9,12 @@
             <field name="arch" type="xml">
             <form string="Taxes Report">
                 <separator string="Taxes Report" colspan="4"/>
-                <label colspan="4" nolabel="1" string="This menu prints a VAT declaration based on invoices or payments. Select one or several periods of the fiscal year. The information required for a tax declaration is automatically generated by OpenERP from invoices (or payments, in some countries). This data is updated in real time. That’s very useful because it enables you to preview at any time the tax that you owe at the start and end of the month or quarter."/>
+                <label colspan="4" nolabel="1" string="This menu prints a VAT declaration based on invoices. Select one or several periods of the fiscal year. The information required for a tax declaration is automatically generated by OpenERP from invoices (or payments, in some countries). This data is updated in real time. That’s very useful because it enables you to preview at any time the tax that you owe at the start and end of the month or quarter."/>
                 <newline/>
                 <field name="chart_tax_id" widget='selection'/>
                 <field name="fiscalyear_id"/>
-                <field name="based_on"/>
+                <!-- It seems that we don't really support the option based on payment. So it's better to hide this choice for now -->
+                <!--<field name="based_on"/>-->
                 <separator string="Periods"  colspan="4"/>
                 <field name="period_from"  domain="[('fiscalyear_id', '=', fiscalyear_id)]" attrs="{'readonly':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}" />
                 <field name="period_to" domain="[('fiscalyear_id', '=', fiscalyear_id)]" attrs="{'readonly':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}" />
@@ -43,4 +44,4 @@
             icon="STOCK_PRINT"/>
 
     </data>
-</openerp>
\ No newline at end of file
+</openerp>