state is reset to draft when you generated openning entries

Bug #1276185 reported by Vincent Renaville@camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Hello,

when you generated opening entries, with the wizard "Generate Opening Entries", it will duplicate the statement_id field also, that's non sense.

You will find a branch with the patch linked.

Tags: maintenance
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Vincent Renaville@camptocamp (vrenaville-c2c) wrote :

Hello,

After an other review of the problem, I see that issue is not the statement_id but the state, the state must be copy as well and not reset to draft.

I have commit the fix in the related branch

Vincent

summary: - statement_id is copy into openning entries
+ state is reset to draft when you generated openning entries
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.