account_move_batch_validate: delete move before job is executed: "Field journal_id not found"
Bug #1285145 reported by
Leonardo Pistone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Account - Financial Tools |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
- create a move
- lauch the wizard to validate it
- before the job is executed, delete the move.
The job fails with a rather obscure error:
AttributeError: 'Field journal_id not found in browse_
Related branches
lp:~camptocamp/account-financial-tools/7.0-fix-post-deleted-move-lep
- Nicolas Bessi - Camptocamp (community): Approve (no test, code review)
- Guewen Baconnier @ Camptocamp: Approve (code review)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 89 lines (+61/-5)3 files modifiedaccount_move_batch_validate/__openerp__.py (+1/-0)
account_move_batch_validate/account.py (+9/-5)
account_move_batch_validate/test/batch_validate_then_delete_move.yml (+51/-0)
Changed in account-financial-tools: | |
status: | New → Fix Released |
To post a comment you must log in.