c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19188
[Bug 732603] Re: Closed analytics accounts are availables in exepenses lines
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"/>
References