Merge lp:~dorian-kemps/unifield-server/US-6430 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5481
Proposed branch: lp:~dorian-kemps/unifield-server/US-6430
Merge into: lp:unifield-server
Diff against target: 32 lines (+3/-3)
2 files modified
bin/addons/stock/report/stock_delivery_report.py (+1/-1)
bin/addons/stock/wizard/stock_delivery_wizard.py (+2/-2)
To merge this branch: bzr merge lp:~dorian-kemps/unifield-server/US-6430
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+371885@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/stock/report/stock_delivery_report.py'
--- bin/addons/stock/report/stock_delivery_report.py 2019-08-22 09:27:03 +0000
+++ bin/addons/stock/report/stock_delivery_report.py 2019-08-27 15:04:17 +0000
@@ -66,7 +66,7 @@
66 'destination': ppl and pick.partner_id.name or fo and not fo.procurement_request and fo.partner_id.name66 'destination': ppl and pick.partner_id.name or fo and not fo.procurement_request and fo.partner_id.name
67 or move.location_dest_id.name or '',67 or move.location_dest_id.name or '',
68 'create_date': pick.date,68 'create_date': pick.date,
69 'shipped_date': ppl and ship and ship.shipment_expected_date or pick.date_done,69 'shipped_date': ppl and ship and ship.shipment_actual_date or pick.date_done,
70 })70 })
7171
72 self._order_iterator += 172 self._order_iterator += 1
7373
=== modified file 'bin/addons/stock/wizard/stock_delivery_wizard.py'
--- bin/addons/stock/wizard/stock_delivery_wizard.py 2019-08-22 09:27:03 +0000
+++ bin/addons/stock/wizard/stock_delivery_wizard.py 2019-08-27 15:04:17 +0000
@@ -84,13 +84,13 @@
84 out_domain.insert(0, '&')84 out_domain.insert(0, '&')
85 out_domain.append(('picking_id.date_done', '>=', wizard.start_date))85 out_domain.append(('picking_id.date_done', '>=', wizard.start_date))
86 ppl_domain.insert(0, '&')86 ppl_domain.insert(0, '&')
87 ppl_domain.append(('picking_id.shipment_id.shipment_expected_date', '>=', wizard.start_date))87 ppl_domain.append(('picking_id.shipment_id.shipment_actual_date', '>=', wizard.start_date))
8888
89 if wizard.end_date:89 if wizard.end_date:
90 out_domain.insert(0, '&')90 out_domain.insert(0, '&')
91 out_domain.append(('picking_id.date_done', '<=', wizard.end_date))91 out_domain.append(('picking_id.date_done', '<=', wizard.end_date))
92 ppl_domain.insert(0, '&')92 ppl_domain.insert(0, '&')
93 ppl_domain.append(('picking_id.shipment_id.shipment_expected_date', '<=', wizard.end_date))93 ppl_domain.append(('picking_id.shipment_id.shipment_actual_date', '<=', wizard.end_date))
9494
95 if wizard.location_id:95 if wizard.location_id:
96 out_domain.insert(0, '&')96 out_domain.insert(0, '&')

Subscribers

People subscribed via source and target branches