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

Proposed by Matjaz Kalic
Status: Merged
Merged at revision: 268
Proposed branch: lp:~matjaz-6/openerpsl/openerpsl_01_07
Merge into: lp:openerpsl/7.0
Diff against target: 11 lines (+1/-0)
1 file modified
m_web_api/m_web.py (+1/-0)
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+201498@code.launchpad.net

Description of the change

[FIX] m_web_api (set_izdelek_produced1 function includes mrp status in search)

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

[FIX] m_web_api (set_izdelek_produced1 function includes mrp status in search)

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-11 17:41:39 +0000
3+++ m_web_api/m_web.py 2014-01-13 19:43:56 +0000
4@@ -109,6 +109,7 @@
5 #moramo najti a so se kaki produkti ki imajo enako osnovo in jih se nismo zakljucili
6 if (status == 1) and (vrstaIzdelka == 'Izdelki') and (current_qty_available - (float(kol1)-old_produced) >= 0):
7 same_base_ids = self.pool.get('mrp.production').search(cr, uid, [
8+ ('state', 'in', ['ready', 'confirmed', 'in_production']),
9 ('product_with_bom_id', '=', product_bom_id),
10 ('id', '!=', line_id),
11 ('status_izdelki', '=', 0)

Subscribers

People subscribed via source and target branches