[REF] account: hidding of the based_on field in the vat print report, which (accordingly to the feedback we had from the community) is dangereous as it's not compliant with what's a user wanting that feature is normally awaiting

bzr revid: qdp-launchpad@openerp.com-20111010134625-ddj81jw4n9ej0wgd
This commit is contained in:
Quentin (OpenERP) 2011-10-10 15:46:25 +02:00
parent 3cbefebffd
commit 8802fc74b3
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<newline/>
<field name="chart_tax_id" widget='selection'/>
<field name="fiscalyear_id"/>
<field name="based_on"/>
<!--- <field name="based_on"/>--> <!-- the option based_on 'payment' is probably not fully compliant with what the users understand with that term. So, currently, it's seems better to remove it from the view to avoid further problems -->
<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 +43,4 @@
icon="STOCK_PRINT"/>
</data>
</openerp>
</openerp>