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

Subscribers

People subscribed via source and target branches