openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20844
[Bug 1095468] Re: timesheet booking with contract module
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
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):
In Progress
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