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
1=== modified file 'm_web_api/m_web.py'
2--- m_web_api/m_web.py 2014-01-14 17:47:08 +0000
3+++ m_web_api/m_web.py 2014-01-15 16:49:33 +0000
4@@ -182,8 +182,8 @@
5 }
6
7 def create(self, cr, user, vals, context=None):
8- if vals['location_id'] == 12:
9- vals['basket_status'] = 0
10+ if (vals['location_id'] == 12 and vals['location_dest_id'] == 9):
11+ vals['basket_status'] = 3
12 else:
13 vals['basket_status'] = 2
14 res = super(stock_move_basket, self).create(cr, user, vals, context=context)

Subscribers

People subscribed via source and target branches