[6.0RC1] account journals code and journal name should be unique

Bug #669532 reported by Ferdinand
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

IMHO OPenERP shouldn't allow to create resources with identical code OR name
how should a user distinguish these ?

Related branches

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

please do a uniq constraint on (code,name,company_id)

Revision history for this message
Ferdinand (office-chricar) wrote :

 I would say 2 uniq constraints on
(code,company_id)
(name,company_id)

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

Hello Ferdinand,

We have Added the uniq constraints for code and name for journals in Addons3 branch.

revision-id: mra@mra-laptop-20101103081713-p0hgynh02lr0v2wp
revno: 4579

Thank you,
Mustufa

Changed in openobject-addons:
status: In Progress → 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.