[6.0] account - sequence_id in journal must be unique

Bug #734949 reported by Ferdinand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

IMHO the same sequence (id) must be used only in ONE journal
To reproduce
* Copy journal
same sequence is ised by 2 different journals

Related branches

Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Thanks For Reporting.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Ferdinand (office-chricar) wrote :

Please reevaluate the bug report lokking at this

https://bugs.launchpad.net/bugs/731465

if it is "suggested" to set the default currency in the journal it might be advantageous to have two journals for invoices, one with currency EUR, the other with CHF for example - but still use ONE invoice sequence.

I do not know if this is a really good solution

Revision history for this message
qdp (OpenERP) (qdp) wrote :

Hi Ferdinand,

indeed, i'm not sure that setting something like a constraint will fit everyone's need: there are probably use cases where different journals will share the same sequence.

But i agree with you, that the most common will have to define a new sequence per journal. So i suggest that we overwrite the copy() of journal in order to set the sequence to False.

Thanks for the contribution,
Quentin

Changed in openobject-addons:
status: Confirmed → In Progress
milestone: none → 6.1
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Ferdinand,

Thanks for reporting,

I have removed the copy of entry sequence from journal in lp:~openerp-dev/openobject-addons/trunk-bug-734949-mra branch.

revision-id: mra@mra-laptop-20110316112522-nr1q01gm314vos0b
revno: 4546
branch-nick: trunk-bug-734949-mra

Thanks to Quentin for suggestion.
mra

Changed in openobject-addons:
status: In Progress → Fix Committed
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.