Hi.

The problem is that users put closed analytic accounts instead of actual
analytic accounts for their actual expenses.

If there will be a filter that verify user not put old analytic account
for an actual expense, I will be agree with you, but not now.

Bye.

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