[FIX] account_analytic_analysis: Only allow to select sale pricelist for contracts

This commit is contained in:
Denis Ledoux 2014-06-05 10:45:14 +02:00
parent 9c9cacd1d0
commit 76d909bb46
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@
<group>
<field name="pricelist_id"
class="oe_inline"
attrs="{'required': [('invoice_on_timesheets', '=', True)]}"/>
attrs="{'required': [('invoice_on_timesheets', '=', True)]}"
domain="[('type', '=', 'sale')]"/>
<field name="to_invoice"
class="oe_inline"
widget="selection"