Merge lp:~matjaz-6/openerpsl/openerpsl_01_07 into lp:openerpsl/7.0

Proposed by Matjaz Kalic
Status: Merged
Merged at revision: 275
Proposed branch: lp:~matjaz-6/openerpsl/openerpsl_01_07
Merge into: lp:openerpsl/7.0
Diff against target: 14 lines (+2/-2)
1 file modified
m_web_api/m_web.py (+2/-2)
To merge this branch: bzr merge lp:~matjaz-6/openerpsl/openerpsl_01_07
Reviewer Review Type Date Requested Status
Mentis Pending
Review via email: mp+201813@code.launchpad.net

Description of the change

[MOD] m_web_api/m_web.py (basket status=3 if location from stock to customers)

To post a comment you must log in.
275. By Dušan Laznik (Mentis)

[MOD] m_web_api/m_web.py (basket status=3 if location from stock to customers)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'm_web_api/m_web.py'
--- m_web_api/m_web.py 2014-01-14 17:47:08 +0000
+++ m_web_api/m_web.py 2014-01-15 16:49:33 +0000
@@ -182,8 +182,8 @@
182 }182 }
183 183
184 def create(self, cr, user, vals, context=None):184 def create(self, cr, user, vals, context=None):
185 if vals['location_id'] == 12:185 if (vals['location_id'] == 12 and vals['location_dest_id'] == 9):
186 vals['basket_status'] = 0186 vals['basket_status'] = 3
187 else:187 else:
188 vals['basket_status'] = 2188 vals['basket_status'] = 2
189 res = super(stock_move_basket, self).create(cr, user, vals, context=context)189 res = super(stock_move_basket, self).create(cr, user, vals, context=context)

Subscribers

People subscribed via source and target branches