← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 732603] Re: Closed analytics accounts are availables in exepenses lines

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

** Tags removed: 5.0.15 addons analytic domain expense

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/732603

Title:
  Closed analytics accounts are availables in exepenses lines

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  hi!

  In 5.0.15 server version ...

  I've just seen that closed analytics accoutns are availables in
  hr_expense views. It's very annoying I think.

  So I change the view code for analytic_account field in hr_expense_view.xml .
  diff command return
  14c14
  <                     <field domain="[('type','=','normal')]" name="analytic_account"/>
  ---
  >                     <field domain="[('type','=','normal'),('state','!=','close')]" name="analytic_account"/>
  65c65
  <                                     <field domain="[('type','=','normal')]" name="analytic_account"/>
  ---
  >                                     <field domain="[('type','=','normal'),('state','!=','close')]" name="analytic_account"/>



References