← Back to team overview

openerp-india team mailing list archive

[Bug 1095468] Re: timesheet booking with contract module

 

Hello all,

You will be able to book the "Contract or Project" type of analytic
account here if, the "Timesheets" is ticked on the analytic account is
selected.

So we can't say this is a bug.

Thanks,
Purnendu Singh 

** Changed in: openobject-addons
       Status: Fix Committed => Invalid

-- 
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):
  Invalid

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',
  '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id,
  user_id, unit_amount)"/>

  to

  <field name="account_id"
  domain="[('type','in',['normal','contract']),('state', '&lt;&gt;',
  '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