openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20855
[Bug 1095468] Re: timesheet booking with contract module
Hello
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-
bug-1095468-rpr with following Revision ID and No
Revision ID:rpr@xxxxxxxxxxx-20130104094550-u531zzkekj2rtnif
Revision No: 8491
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
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):
Fix Committed
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