[IMP]project_timesheet:added domain for visible analytic accounts in which to_invoice is true

bzr revid: ssu@tinyerp.com-20121016115943-qljcyw8afcgrh9g3
This commit is contained in:
Saurang Suthar 2012-10-16 17:29:43 +05:30
parent cba880c3ec
commit 164df45813
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
<field name="inherit_id" ref="account.view_account_analytic_line_form"/>
<field name="arch" type="xml">
<field name="account_id" position="replace">
<field name="account_id" string="Analytic Account/Project" on_change="on_change_account_id(account_id)"/>
<field name="account_id" string="Analytic Account/Project" on_change="on_change_account_id(account_id)" domain="[('to_invoice','!=', False)]"/>
</field>
</field>
</record>