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

Proposed by jftempo
Status: Merged
Merged at revision: 3752
Proposed branch: lp:~unifield-team/unifield-server/us-1273
Merge into: lp:unifield-server
Diff against target: 48 lines (+19/-0) (has conflicts)
2 files modified
bin/addons/msf_profile/data/patches.xml (+7/-0)
bin/addons/msf_profile/msf_profile.py (+12/-0)
Text conflict in bin/addons/msf_profile/data/patches.xml
Text conflict in bin/addons/msf_profile/msf_profile.py
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-1273
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+295152@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_profile/data/patches.xml'
--- bin/addons/msf_profile/data/patches.xml 2016-05-12 12:09:25 +0000
+++ bin/addons/msf_profile/data/patches.xml 2016-05-19 07:05:42 +0000
@@ -36,9 +36,16 @@
36 <record id="us_1061_patch" model="patch.scripts">36 <record id="us_1061_patch" model="patch.scripts">
37 <field name="method">us_1061_patch</field>37 <field name="method">us_1061_patch</field>
38 </record>38 </record>
39<<<<<<< TREE
3940
40 <record id="us_1263_patch" model="patch.scripts">41 <record id="us_1263_patch" model="patch.scripts">
41 <field name="method">us_1263_patch</field>42 <field name="method">us_1263_patch</field>
42 </record>43 </record>
44=======
45
46 <record id="us-1273_patch" model="patch.scripts">
47 <field name="method">us_1273_patch</field>
48 </record>
49>>>>>>> MERGE-SOURCE
43 </data>50 </data>
44</openerp>51</openerp>
4552
=== modified file 'bin/addons/msf_profile/msf_profile.py'
--- bin/addons/msf_profile/msf_profile.py 2016-05-12 12:09:25 +0000
+++ bin/addons/msf_profile/msf_profile.py 2016-05-19 07:05:42 +0000
@@ -503,6 +503,7 @@
503 'display_in_reports': False,503 'display_in_reports': False,
504 })504 })
505505
506<<<<<<< TREE
506 def us_1263_patch(self, cr, uid, *a, **b):507 def us_1263_patch(self, cr, uid, *a, **b):
507 ms_obj = self.pool.get('stock.mission.report')508 ms_obj = self.pool.get('stock.mission.report')
508 msl_obj = self.pool.get('stock.mission.report.line')509 msl_obj = self.pool.get('stock.mission.report.line')
@@ -538,6 +539,17 @@
538 OR l.in_pipe_coor_qty != 0.00))''', (msl_touched, tuple(ms_ids)))539 OR l.in_pipe_coor_qty != 0.00))''', (msl_touched, tuple(ms_ids)))
539 return True540 return True
540541
542=======
543 def us_1273_patch(self, cr, uid, *a, **b):
544 # Put all internal requests import_in_progress field to False
545 ir_obj = self.pool.get('sale.order')
546 context = {'procurement_request': True}
547 ir_ids = ir_obj.search(cr, uid, [('import_in_progress', '=', True)], context=context)
548 if ir_ids:
549 ir_obj.write(cr, uid, ir_ids, {'import_in_progress': False})
550 return True
551
552>>>>>>> MERGE-SOURCE
541patch_scripts()553patch_scripts()
542554
543555

Subscribers

People subscribed via source and target branches

to all changes: