[IMP] project_issue_sheet: remove domain from analytic account in issue form view

This domain forced you to choose an analytic account with the same customer. While useful (you search less), it is quite limiting; the case where you need to register your timesheets on an internal account or the account of another partner are not that rare.
This commit is contained in:
Damien Bouvy
2015-12-08 13:45:42 +01:00
parent c4dca1dec6
commit 1bb822ca32
@@ -16,7 +16,7 @@
<xpath expr="//notebook/page[@name='extra_info']" position="before">
<page string="Timesheets" groups="project.group_tasks_work_on_tasks,project.group_time_work_estimation_tasks">
<group>
<field name="analytic_account_id" domain="[('partner_id', '=', partner_id)]"/>
<field name="analytic_account_id" />
</group>
<field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : uid, 'default_account_id' : analytic_account_id, 'default_is_timesheet':1}"
groups="base.group_user">