Merge lp:~unifield-team/unifield-server/us-1551 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 3880
Proposed branch: lp:~unifield-team/unifield-server/us-1551
Merge into: lp:unifield-server
Diff against target: 79 lines (+15/-10)
5 files modified
bin/addons/msf_outgoing/report/empty_picking_ticket.rml (+1/-0)
bin/addons/msf_outgoing/report/picking_ticket.py (+1/-0)
bin/addons/msf_outgoing/report/picking_ticket.rml (+1/-0)
bin/addons/stock_override/report/delivery_order.rml (+2/-1)
bin/addons/sync_so/sale.py (+10/-9)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-1551
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+301893@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
=== modified file 'bin/addons/msf_outgoing/report/empty_picking_ticket.rml'
--- bin/addons/msf_outgoing/report/empty_picking_ticket.rml 2016-03-22 08:24:13 +0000
+++ bin/addons/msf_outgoing/report/empty_picking_ticket.rml 2016-08-03 10:07:03 +0000
@@ -350,6 +350,7 @@
350 <!-- Lines -->350 <!-- Lines -->
351 <blockTable colWidths="30.0,60.0,220.0,55.0,75.0,65.0,20.0,20.0,20.0,55.0,45.0,45.0,50.0,50.0" rowHeights="15.0" style="LinesValues">351 <blockTable colWidths="30.0,60.0,220.0,55.0,75.0,65.0,20.0,20.0,20.0,55.0,45.0,45.0,50.0,50.0" rowHeights="15.0" style="LinesValues">
352 [[ repeatIn(getLines(pt), 'm', 'blockTable') ]]352 [[ repeatIn(getLines(pt), 'm', 'blockTable') ]]
353 [[ m.state == 'cancel' and removeParentNode('blockTable') ]]
353 <tr>354 <tr>
354 <td>355 <td>
355 <para style="LineValue">[[ not m.no_product and m.line_number or '' ]]</para>356 <para style="LineValue">[[ not m.no_product and m.line_number or '' ]]</para>
356357
=== modified file 'bin/addons/msf_outgoing/report/picking_ticket.py'
--- bin/addons/msf_outgoing/report/picking_ticket.py 2016-03-08 15:32:40 +0000
+++ bin/addons/msf_outgoing/report/picking_ticket.py 2016-08-03 10:07:03 +0000
@@ -35,6 +35,7 @@
35 self.line_number = move.line_number35 self.line_number = move.line_number
36 self.sale_line_id = move.sale_line_id36 self.sale_line_id = move.sale_line_id
37 self.product_uom = move.product_id.uom_id37 self.product_uom = move.product_id.uom_id
38 self.state = move.state
38 self.product_qty = 0.0039 self.product_qty = 0.00
39 self.prodlot_id = None40 self.prodlot_id = None
40 self.kc_check = False41 self.kc_check = False
4142
=== modified file 'bin/addons/msf_outgoing/report/picking_ticket.rml'
--- bin/addons/msf_outgoing/report/picking_ticket.rml 2016-03-22 08:24:13 +0000
+++ bin/addons/msf_outgoing/report/picking_ticket.rml 2016-08-03 10:07:03 +0000
@@ -366,6 +366,7 @@
366 <!-- Lines -->366 <!-- Lines -->
367 <blockTable colWidths="30.0,60.0,220.0,80.0,55.0,55.0,55.0,55.0,75.0,65.0,20.0,20.0,20.0" rowHeights="15.0" style="LinesValues">367 <blockTable colWidths="30.0,60.0,220.0,80.0,55.0,55.0,55.0,55.0,75.0,65.0,20.0,20.0,20.0" rowHeights="15.0" style="LinesValues">
368 [[ repeatIn(getLines(pt), 'm', 'blockTable') ]]368 [[ repeatIn(getLines(pt), 'm', 'blockTable') ]]
369 [[ m.state == 'cancel' and removeParentNode('blockTable') ]]
369 <tr>370 <tr>
370 <td>371 <td>
371 <para style="LineValue">[[ not m.no_product and m.line_number or '' ]]</para>372 <para style="LineValue">[[ not m.no_product and m.line_number or '' ]]</para>
372373
=== modified file 'bin/addons/stock_override/report/delivery_order.rml'
--- bin/addons/stock_override/report/delivery_order.rml 2014-11-06 07:49:57 +0000
+++ bin/addons/stock_override/report/delivery_order.rml 2016-08-03 10:07:03 +0000
@@ -217,7 +217,8 @@
217 </td>217 </td>
218 </tr>218 </tr>
219 <tr>219 <tr>
220 [[ repeatIn(picking.move_lines, 'line', 'tr') ]]220 [[ repeatIn(picking.move_lines, 'line', 'tr') ]]
221 [[ line.state == 'cancel' and removeParentNode('tr') ]]
221 <td>222 <td>
222 <para style="Line">[[ line.line_number ]]</para>223 <para style="Line">[[ line.line_number ]]</para>
223 </td>224 </td>
224225
=== modified file 'bin/addons/sync_so/sale.py'
--- bin/addons/sync_so/sale.py 2016-03-24 16:43:45 +0000
+++ bin/addons/sync_so/sale.py 2016-08-03 10:07:03 +0000
@@ -384,15 +384,16 @@
384 orig_partner_name = self.browse(cr, uid, original_id, context=context).partner_id.name384 orig_partner_name = self.browse(cr, uid, original_id, context=context).partner_id.name
385385
386 # Generate messages for cancel lines386 # Generate messages for cancel lines
387 available_solc_ids = solc_obj.search(cr, uid, eval(solccl_rule.domain),387 if solccl_rule:
388 order='NO_ORDER', context=context)388 available_solc_ids = solc_obj.search(cr, uid, eval(solccl_rule.domain),
389 for asolc in solc_obj.browse(cr, uid, available_solc_ids, context=context):389 order='NO_ORDER', context=context)
390 sol_ids = sol_obj.search(cr, uid, [390 for asolc in solc_obj.browse(cr, uid, available_solc_ids, context=context):
391 ('order_id', '=', original_id),391 sol_ids = sol_obj.search(cr, uid, [
392 ('sync_order_line_db_id', '=', asolc.resource_sync_line_db_id),392 ('order_id', '=', original_id),
393 ], context=context)393 ('sync_order_line_db_id', '=', asolc.resource_sync_line_db_id),
394 if sol_ids:394 ], context=context)
395 generate_msg_to_send(solccl_rule, solccl_model_obj, asolc.id, orig_partner_name)395 if sol_ids:
396 generate_msg_to_send(solccl_rule, solccl_model_obj, asolc.id, orig_partner_name)
396397
397 if nfo_model_obj and nfo_rule:398 if nfo_model_obj and nfo_rule:
398 available_nfo_ids = self.search(cr, uid, eval(nfo_rule.domain),399 available_nfo_ids = self.search(cr, uid, eval(nfo_rule.domain),

Subscribers

People subscribed via source and target branches

to all changes: