[6.1] Wrong message of verification of period
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello.
Try to post a journal entry in a closed period, you will reveive a message:
..... ---- ..... You can not add/modify entries in a closed journal. ..... - ......
Wao, is incredible that a verification than obvious than this:
file: account.py
1211 def _update_
1212 journal_obj = self.pool.
1213 period_obj = self.pool.
1214 jour_period_obj = self.pool.
1215 cr.execute('SELECT state FROM account_
1216 result = cr.fetchall()
1217 for (state,) in result:
1218 if state == 'done':
1219 raise osv.except_
Dudes, is a "Closed PERIOD"
It took to me see it something like 20 minutes, with an powerfull rgrep, but: How dou you explain that this is a little stuff to a end user?
How much time will take to an end user see than somebody close PERIOD and will expend hours in look in Journal...
Be carefull please!
Regards.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |