[7.0][base][regression] state_id in address form isn't restricted to selected country
Bug #1083400 reported by
Raphaël Valyi - http://www.akretion.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP's Framework R&D |
Bug Description
Reproducible on Runbot:
select edit a partner like Agrolait end edit its address: you can choose any state, for instance an American state while the selected country is Belgium.
It's an easy fix, just add a domain restriction in the XML of the view.
Hope this helps.
Related branches
lp://staging/~openerp-dev/openobject-server/trunk-bug-1083400-tpa
Ready for review
for merging
into
lp://staging/openobject-server
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/addons/base/res/res_partner.py (+1/-1)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Jignesh.
How i do this, MP in base modules?, a typonomous module?, can you enlight me please, we have states for 3 countrys.
BTW, thi bug is related to a domian country based it works in pasts versions, Writting this i could solve already... Is realle a No-brain solution.
Regards.>