summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2015-12-08 13:43:50 +0100
committerDamien Bouvy <dbo@odoo.com>2015-12-08 13:45:42 +0100
commit1bb822ca32e659149e86861bed4a2cfafdc014aa (patch)
tree909da97a3335f8a6de0e788b66ffc25ef7e445e1 /addons
parentc4dca1dec6ae6965577102bd74dc1c1d35f5035a (diff)
[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.
Diffstat (limited to 'addons')
-rw-r--r--addons/project_issue_sheet/project_issue_sheet_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml
index 3b376e8ad3c..4aeb06aa13c 100644
--- a/addons/project_issue_sheet/project_issue_sheet_view.xml
+++ b/addons/project_issue_sheet/project_issue_sheet_view.xml
@@ -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">