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
1=== modified file 'bin/addons/msf_profile/data/patches.xml'
2--- bin/addons/msf_profile/data/patches.xml 2016-05-12 12:09:25 +0000
3+++ bin/addons/msf_profile/data/patches.xml 2016-05-19 07:05:42 +0000
4@@ -36,9 +36,16 @@
5 <record id="us_1061_patch" model="patch.scripts">
6 <field name="method">us_1061_patch</field>
7 </record>
8+<<<<<<< TREE
9
10 <record id="us_1263_patch" model="patch.scripts">
11 <field name="method">us_1263_patch</field>
12 </record>
13+=======
14+
15+ <record id="us-1273_patch" model="patch.scripts">
16+ <field name="method">us_1273_patch</field>
17+ </record>
18+>>>>>>> MERGE-SOURCE
19 </data>
20 </openerp>
21
22=== modified file 'bin/addons/msf_profile/msf_profile.py'
23--- bin/addons/msf_profile/msf_profile.py 2016-05-12 12:09:25 +0000
24+++ bin/addons/msf_profile/msf_profile.py 2016-05-19 07:05:42 +0000
25@@ -503,6 +503,7 @@
26 'display_in_reports': False,
27 })
28
29+<<<<<<< TREE
30 def us_1263_patch(self, cr, uid, *a, **b):
31 ms_obj = self.pool.get('stock.mission.report')
32 msl_obj = self.pool.get('stock.mission.report.line')
33@@ -538,6 +539,17 @@
34 OR l.in_pipe_coor_qty != 0.00))''', (msl_touched, tuple(ms_ids)))
35 return True
36
37+=======
38+ def us_1273_patch(self, cr, uid, *a, **b):
39+ # Put all internal requests import_in_progress field to False
40+ ir_obj = self.pool.get('sale.order')
41+ context = {'procurement_request': True}
42+ ir_ids = ir_obj.search(cr, uid, [('import_in_progress', '=', True)], context=context)
43+ if ir_ids:
44+ ir_obj.write(cr, uid, ir_ids, {'import_in_progress': False})
45+ return True
46+
47+>>>>>>> MERGE-SOURCE
48 patch_scripts()
49
50

Subscribers

People subscribed via source and target branches

to all changes: