openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20712
[Bug 1095468] Re: timesheet booking with contract module
** Changed in: openobject-addons
Importance: Undecided => Low
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1095468
Title:
timesheet booking with contract module
Status in OpenERP Addons (modules):
Confirmed
Bug description:
With enabled contract module it is not possible to book time on a
contract, only normal analytic accounts are shown.
The view in analytic_user_function/analytic_user_function_view.xml is
not defining the contract option.
change this
<field name="account_id" domain="[('type','=','normal'),('state',
'<>', 'close')]" on_change="on_change_account_id(account_id,
user_id, unit_amount)"/>
to
<field name="account_id"
domain="[('type','in',['normal','contract']),('state', '<>',
'close')]" on_change="on_change_account_id(account_id, user_id,
unit_amount)"/>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1095468/+subscriptions
References