[hr_expense] Can not set a default account journal on expense creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
First steps to reproduce :
* activate developper mode
* create a new expense
* go on accouting tab
* select a dedicated account journal (type=purchase)
* through developper option select the option to set default value
* select "force journal" and set it to a default value for everyone
* save
* create a new expense
* look if the default account journal previously set is selected
The accouting journal is not set with the default value...
Going further through code, when trying to set a default value at expense object creation, using _defaults dict doesn't help too, no default value set for journal account...
The only current way to accomplish that is to override the onchange_
I suspect that the on_change_
Hello,
I have checked this issue with trunk as well with 7.0 . But for trunk due to this lp:1264264 bug error I am not able to reproduce it, For stable 7.0 the issue is occur .
So, Currently for both I am confirming this issue . @R&D please check above mention bug number, and then try to reproduce it for trunk.
Thank you,