diff options
| author | Stephane Wirtel <stephane@openerp.com> | 2011-04-22 13:44:23 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stephane@openerp.com> | 2011-04-22 13:44:23 +0200 |
| commit | dcf034bd52a861454a5dd7f10b0af5409468ba13 (patch) | |
| tree | 68773aa765d678f6c0c306a79b207784777a4408 /addons/project_issue_sheet/project_issue_sheet_view.xml | |
| parent | 6063f74810a9e2e510ec87f83709542c6a0c3f34 (diff) | |
[FIX] Use the Responsible (user_id) of the case as the default value in the sheet line.
[FIX] Remove the on_change event on the analytic account in the worklogs
bzr revid: stephane@openerp.com-20110422114423-fhqluv4tp1uho6x7
Diffstat (limited to 'addons/project_issue_sheet/project_issue_sheet_view.xml')
| -rw-r--r-- | addons/project_issue_sheet/project_issue_sheet_view.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/project_issue_sheet/project_issue_sheet_view.xml b/addons/project_issue_sheet/project_issue_sheet_view.xml index 058fd67a946..4de1caeddd3 100644 --- a/addons/project_issue_sheet/project_issue_sheet_view.xml +++ b/addons/project_issue_sheet/project_issue_sheet_view.xml @@ -18,11 +18,11 @@ </xpath> <notebook colspan="4"> <page string="Worklogs"> - <field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : assigned_to, 'default_account_id' : analytic_account_id}"> - <tree editable="top" string="Timesheet"> + <field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : user_id, 'default_account_id' : analytic_account_id}"> + <tree editable="top" string="Timesheets"> <field name="name"/> <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/> - <field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" on_change="on_change_account_id(account_id)"/> + <field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" /> <field name="date"/> <field name="user_id"/> <field invisible="1" name="journal_id"/> |
