Merge lp:~unifield-team/unifield-wm/sync_uf_2215_various_small_fixes into lp:unifield-wm/sync

Proposed by jftempo
Status: Merged
Merged at revision: 369
Proposed branch: lp:~unifield-team/unifield-wm/sync_uf_2215_various_small_fixes
Merge into: lp:unifield-wm/sync
Diff against target: 12 lines (+2/-0)
1 file modified
sync_so/so_po_common.py (+2/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/sync_uf_2215_various_small_fixes
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+196312@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sync_so/so_po_common.py'
2--- sync_so/so_po_common.py 2013-11-07 16:21:24 +0000
3+++ sync_so/so_po_common.py 2013-11-22 16:30:30 +0000
4@@ -283,6 +283,8 @@
5
6 if line_dict.get('price_unit'):
7 values['price_unit'] = line.price_unit
8+ else:
9+ values['price_unit'] = 0 # This case is for the line that has price unit False (actually 0 but OpenERP converted to False)
10
11 if line_dict.get('product_id'):
12 rec_id = self.pool.get('product.product').find_sd_ref(cr, uid, xmlid_to_sdref(line.product_id.id), context=context)

Subscribers

People subscribed via source and target branches

to all changes: