cannot duplicate journal entries
Bug #871314 reported by
Stéphane Bidoul (Acsone)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
How to reproduce:
- select an existing journal entry
- click duplicate
- change the period or journal on the new journal entry
- click save -> Error occurred while validating the field(s) line_id: You cannot create entries on different periods/journals in the same move
The attached patch solves this by propagating the change on the move object to the move lines.
Best regards,
-sbi
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-871314-bde
Rejected
for merging
into
lp:openobject-addons
- Mustufa Rangwala (Open ERP) (community): Approve
- Bharat Devnani (Open ERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 79 lines (+23/-7)2 files modifiedaccount/account.py (+20/-4)
account/account_view.xml (+3/-3)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
milestone: | 6.1 → none |
status: | Fix Committed → Confirmed |
To post a comment you must log in.
Hello Stéphane Bidoul,
Thanks for your time and contribution. I have checked and applied your patch and it works fine. The solution of the bug will be merged in main addons. Following are the Revision ID and Number of the proposed branch:
Revision ID : <email address hidden>
Revision Number : 5323
Thanks & Regards,
Devnani Bharat R.