Merge lp:~openerp-dev/openobject-addons/trunk-bug-1133540-dhruvit into lp:openobject-addons

Proposed by Dhruvit Darji(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1133540-dhruvit
Merge into: lp:openobject-addons
Diff against target: 14 lines (+3/-1)
1 file modified
stock/stock.py (+3/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1133540-dhruvit
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+151894@code.launchpad.net

Description of the change

Hello,
 i have solved Locations allow duplicatation issue
 -Fixed duplication issue in stock

Thanx,
Dhruvit

To post a comment you must log in.
8597. By Dhruvit Darji(OpenERP)

[FIX] location will not allow duplication

8598. By Dhruvit Darji(OpenERP)

[MERGE] Merge with Addons

Unmerged revisions

8598. By Dhruvit Darji(OpenERP)

[MERGE] Merge with Addons

8597. By Dhruvit Darji(OpenERP)

[FIX] location will not allow duplication

8596. By Dhruvit Darji(OpenERP)

[Fix Locations Not Allow Duplicates]

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'stock/stock.py'
--- stock/stock.py 2013-03-14 11:27:40 +0000
+++ stock/stock.py 2013-03-18 06:56:23 +0000
@@ -228,7 +228,9 @@
228 'icon': False,228 'icon': False,
229 'scrap_location': False,229 'scrap_location': False,
230 }230 }
231231 _sql_constraints = [
232 ('name_unique', 'unique(name,location_id)','The name of the location or parent location must be unique !')
233 ]
232 def chained_location_get(self, cr, uid, location, partner=None, product=None, context=None):234 def chained_location_get(self, cr, uid, location, partner=None, product=None, context=None):
233 """ Finds chained location235 """ Finds chained location
234 @param location: Location id236 @param location: Location id

Subscribers

People subscribed via source and target branches

to all changes: