Hello LudoRA,

No we can not set the domain on analytic account on expense lines
because there may be possibility that accounts are closed but we will
invoice expenses of that accounts afterward.

So i am closing the bug.
Hope you are clear.

Thank you,
mra

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

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

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"/>

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to