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

Proposed by jftempo
Status: Merged
Merged at revision: 5952
Proposed branch: lp:~dorian-kemps/unifield-server/US-8389
Merge into: lp:unifield-server
Diff against target: 72 lines (+7/-7)
5 files modified
bin/addons/msf_doc_import/check_line.py (+2/-2)
bin/addons/msf_doc_import/wizard/wizard_import_picking_line.py (+1/-1)
bin/addons/msf_profile/i18n/fr_MF.po (+1/-1)
bin/addons/stock_override/stock_view.xml (+2/-2)
bin/addons/stock_override/wizard/change_dest_location_view.xml (+1/-1)
To merge this branch: bzr merge lp:~dorian-kemps/unifield-server/US-8389
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+399978@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_doc_import/check_line.py'
2--- bin/addons/msf_doc_import/check_line.py 2020-08-19 14:50:17 +0000
3+++ bin/addons/msf_doc_import/check_line.py 2021-03-22 13:02:25 +0000
4@@ -214,9 +214,9 @@
5 if loc_name:
6 domain = [('name', '=ilike', loc_name)]
7 if check_type and product_id and check_type == 'src' and pick_type == 'internal':
8- domain.extend([('internal_src', '=', product_id), ('usage', '!=', 'view')])
9+ domain.extend([('internal_src', '=', product_id), ('usage', '!=', 'view'), ('virtual_ok', '!=', 't')])
10 elif check_type and product_id and check_type == 'dest' and pick_type == 'internal':
11- domain.extend([('internal_dest', '=', product_id), ('usage', '!=', 'view')])
12+ domain.extend([('internal_dest', '=', product_id), ('usage', '!=', 'view'), ('virtual_ok', '!=', 't')])
13 elif check_type and product_id and check_type == 'src' and pick_type == 'in':
14 domain.extend([('usage', '=', 'supplier')])
15 elif check_type and product_id and check_type == 'dest' and pick_type == 'in':
16
17=== modified file 'bin/addons/msf_doc_import/wizard/wizard_import_picking_line.py'
18--- bin/addons/msf_doc_import/wizard/wizard_import_picking_line.py 2021-02-03 14:18:07 +0000
19+++ bin/addons/msf_doc_import/wizard/wizard_import_picking_line.py 2021-03-22 13:02:25 +0000
20@@ -168,7 +168,7 @@
21 pick_ext_cu=picking.ext_cu, product_id=to_write['product_id'],
22 check_type='src', row=row, cell_nb=8, context=context)
23 if partner_loc and partner_loc != src_value['location_id']:
24- raise osv.except_osv(_('Error'), _('The source location is not compatible with the patner'))
25+ raise osv.except_osv(_('Error'), _('The source location is not compatible with the partner'))
26
27 to_write.update({'location_id': src_value['location_id'], 'is_ext_cu': src_value['is_ext_cu'],
28 'error_list': src_value['error_list'],})
29
30=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
31--- bin/addons/msf_profile/i18n/fr_MF.po 2021-02-24 09:28:37 +0000
32+++ bin/addons/msf_profile/i18n/fr_MF.po 2021-03-22 13:02:25 +0000
33@@ -87584,7 +87584,7 @@
34 #. module: msf_doc_import
35 #: code:addons/msf_doc_import/wizard/wizard_import_picking_line.py:196
36 #, python-format
37-msgid "The source location is not compatible with the patner"
38+msgid "The source location is not compatible with the partner"
39 msgstr "La zone source n'est pas compatible avec le partenaire"
40
41 #. module: account
42
43=== modified file 'bin/addons/stock_override/stock_view.xml'
44--- bin/addons/stock_override/stock_view.xml 2020-12-04 11:19:40 +0000
45+++ bin/addons/stock_override/stock_view.xml 2021-03-22 13:02:25 +0000
46@@ -300,11 +300,11 @@
47 <separator string="Locations" colspan="2"/>
48 <field name="location_id"
49 attrs="{'readonly': [('state', '=', 'assigned')]}"
50- domain="[('internal_src', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_dest_id)]"
51+ domain="[('internal_src', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_dest_id), ('virtual_ok', '!=', 't')]"
52 context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False}"
53 />
54 <field name="location_dest_id"
55- domain="[('internal_dest', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_id)]"
56+ domain="[('internal_dest', '=', product_id), ('usage', '!=', 'view'), ('id', '!=', location_id), ('virtual_ok', '!=', 't')]"
57 on_change="location_dest_change(location_dest_id, location_id, product_id)"
58 />
59 </group>
60
61=== modified file 'bin/addons/stock_override/wizard/change_dest_location_view.xml'
62--- bin/addons/stock_override/wizard/change_dest_location_view.xml 2019-08-22 10:11:24 +0000
63+++ bin/addons/stock_override/wizard/change_dest_location_view.xml 2021-03-22 13:02:25 +0000
64@@ -22,7 +22,7 @@
65
66 <group attrs="{'invisible': [('type', '=', 'out')]}" colspan="4">
67 <separator colspan="4" string="New destination location" />
68- <field name="dest_location_id" colspan="4" domain="[('usage', 'not in', ['view', 'supplier', 'customer']), ('input_ok', '!=', True)]" attrs="{'readonly': [('state', '=', 'end')], 'required': [('type', '=', 'internal')]}" />
69+ <field name="dest_location_id" colspan="4" domain="[('usage', 'not in', ['view', 'supplier', 'customer']), ('input_ok', '!=', True), ('virtual_ok', '!=', 't')]" attrs="{'readonly': [('state', '=', 'end')], 'required': [('type', '=', 'internal')]}" />
70 </group>
71
72 <group attrs="{'invisible': [('type', '=', 'internal')]}" colspan="4">

Subscribers

People subscribed via source and target branches