Merge lp:~jfb-tempo-consulting/unifield-server/us-4879 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5055
Proposed branch: lp:~jfb-tempo-consulting/unifield-server/us-4879
Merge into: lp:unifield-server
Diff against target: 49 lines (+9/-1)
3 files modified
bin/addons/msf_profile/data/patches.xml (+3/-0)
bin/addons/msf_profile/msf_profile.py (+5/-0)
bin/addons/sync_client/special_handling.py (+1/-1)
To merge this branch: bzr merge lp:~jfb-tempo-consulting/unifield-server/us-4879
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+353322@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 2018-08-01 16:12:31 +0000
+++ bin/addons/msf_profile/data/patches.xml 2018-08-17 12:02:47 +0000
@@ -6,6 +6,9 @@
6 <field name="method">us_3427_update_third_parties_in_gl_selector</field>6 <field name="method">us_3427_update_third_parties_in_gl_selector</field>
7 </record>7 </record>
88
9 <record id="us_4879_fo_from_shipping_except_to_close" model="patch.scripts">
10 <field name="method">us_4879_fo_from_shipping_except_to_close</field>
11 </record>
9 <!-- UF 9.1 -->12 <!-- UF 9.1 -->
10 <record id="change_xml_payment_method" model="patch.scripts">13 <record id="change_xml_payment_method" model="patch.scripts">
11 <field name="method">change_xml_payment_method</field>14 <field name="method">change_xml_payment_method</field>
1215
=== modified file 'bin/addons/msf_profile/msf_profile.py'
--- bin/addons/msf_profile/msf_profile.py 2018-08-16 09:59:11 +0000
+++ bin/addons/msf_profile/msf_profile.py 2018-08-17 12:02:47 +0000
@@ -89,6 +89,11 @@
89 }89 }
90 selector_obj.write(cr, uid, selector.id, vals)90 selector_obj.write(cr, uid, selector.id, vals)
9191
92 def us_4879_fo_from_shipping_except_to_close(self, cr, uid, *a, **b):
93 cr.execute("update sale_order set state='done' where state='shipping_except' and procurement_request='f'")
94 self._logger.warn('FO from shipping_except do done: %d' % (cr.rowcount,))
95 return True
96
92 # UF9.197 # UF9.1
93 def change_xml_payment_method(self, cr, uid, *a, **b):98 def change_xml_payment_method(self, cr, uid, *a, **b):
94 user_obj = self.pool.get('res.users')99 user_obj = self.pool.get('res.users')
95100
=== modified file 'bin/addons/sync_client/special_handling.py'
--- bin/addons/sync_client/special_handling.py 2017-10-02 15:51:29 +0000
+++ bin/addons/sync_client/special_handling.py 2018-08-17 12:02:47 +0000
@@ -165,6 +165,7 @@
165 # US 1214: HQ closed tolerate update under certains conditions only165 # US 1214: HQ closed tolerate update under certains conditions only
166 # Enable the sync on account.move.line field only if they are not : Dates / Journal / Sequence / Description / Reference / all field amounts / Third party / Currency / State166 # Enable the sync on account.move.line field only if they are not : Dates / Journal / Sequence / Description / Reference / all field amounts / Third party / Currency / State
167 # http://jira.unifield.org/browse/US-1214?focusedCommentId=47237&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-47237167 # http://jira.unifield.org/browse/US-1214?focusedCommentId=47237&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-47237
168 # US-4963: allow changes on employee_id
168169
169 # => get field by field diff170 # => get field by field diff
170 fields_to_check = [171 fields_to_check = [
@@ -175,7 +176,6 @@
175 ('debit', 'float'),176 ('debit', 'float'),
176 ('debit_currency', 'float'),177 ('debit_currency', 'float'),
177 ('document_date', False),178 ('document_date', False),
178 ('employee_id', 'id'),
179 ('journal_id', 'id'),179 ('journal_id', 'id'),
180 ('move_id', 'id'),180 ('move_id', 'id'),
181 ('partner_id', 'id'),181 ('partner_id', 'id'),

Subscribers

People subscribed via source and target branches