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

Proposed by jftempo
Status: Merged
Merged at revision: 4176
Proposed branch: lp:~unifield-team/unifield-server/us-1213
Merge into: lp:unifield-server
Diff against target: 197 lines (+42/-27)
5 files modified
bin/addons/consumption_calculation/consumption_calculation.py (+7/-7)
bin/addons/consumption_calculation/consumption_view.xml (+2/-2)
bin/addons/msf_printed_documents/report/consumption_report.rml (+2/-2)
bin/addons/msf_profile/i18n/es_MF.po (+7/-3)
bin/addons/msf_profile/i18n/fr_MF.po (+24/-13)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-1213
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+316017@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/consumption_calculation/consumption_calculation.py'
--- bin/addons/consumption_calculation/consumption_calculation.py 2016-11-17 15:46:10 +0000
+++ bin/addons/consumption_calculation/consumption_calculation.py 2017-01-31 14:44:16 +0000
@@ -159,13 +159,13 @@
159 _columns = {159 _columns = {
160 'name': fields.char(size=64, string='Reference'),160 'name': fields.char(size=64, string='Reference'),
161 'creation_date': fields.datetime(string='Creation date', required=1),161 'creation_date': fields.datetime(string='Creation date', required=1),
162 'cons_location_id': fields.many2one('stock.location', string='Consumer location', domain=[('usage', '=', 'internal')], required=True, select=1),162 'cons_location_id': fields.many2one('stock.location', string='Source Location', domain=[('usage', '=', 'internal')], required=True, select=1),
163 'cons_location_name': fields.function(_get_act_name, method=True, type='char', string='Consumer location Name', readonly=True, size=128, multi='loc_name', store={163 'cons_location_name': fields.function(_get_act_name, method=True, type='char', string='Consumer location Name', readonly=True, size=128, multi='loc_name', store={
164 'real.average.consumption': (lambda obj, cr, uid, ids, c={}: ids, ['cons_location_id'], 10),164 'real.average.consumption': (lambda obj, cr, uid, ids, c={}: ids, ['cons_location_id'], 10),
165 'stock.location': (_get_stock_location, ['name'], 20),165 'stock.location': (_get_stock_location, ['name'], 20),
166 },),166 },),
167 'activity_id': fields.many2one('stock.location', string='Activity', domain=[('usage', '=', 'customer')], required=1, select=1),167 'activity_id': fields.many2one('stock.location', string='Destination Location', domain=[('usage', '=', 'customer')], required=1, select=1),
168 'activity_name': fields.function(_get_act_name, method=True, type='char', string='Activity Name', readonly=True, size=128, multi='loc_name', store={168 'activity_name': fields.function(_get_act_name, method=True, type='char', string='Destination Location', readonly=True, size=128, multi='loc_name', store={
169 'real.average.consumption': (lambda obj, cr, uid, ids, c={}: ids, ['activity_id'], 10),169 'real.average.consumption': (lambda obj, cr, uid, ids, c={}: ids, ['activity_id'], 10),
170 'stock.location': (_get_stock_location, ['name'], 20),170 'stock.location': (_get_stock_location, ['name'], 20),
171 },),171 },),
@@ -1024,7 +1024,7 @@
10241024
1025 _columns = {1025 _columns = {
1026 'report_id': fields.many2one('real.average.consumption', string='Report'),1026 'report_id': fields.many2one('real.average.consumption', string='Report'),
1027 'location_id': fields.many2one('stock.location', string='Consumer location', required=True),1027 'location_id': fields.many2one('stock.location', string='Source Location', required=True),
1028 }1028 }
10291029
1030 def change_location(self, cr, uid, ids, context=None):1030 def change_location(self, cr, uid, ids, context=None):
10311031
=== modified file 'bin/addons/consumption_calculation/consumption_view.xml'
--- bin/addons/consumption_calculation/consumption_view.xml 2016-11-04 12:57:37 +0000
+++ bin/addons/consumption_calculation/consumption_view.xml 2017-01-31 14:44:16 +0000
@@ -102,8 +102,8 @@
102 <field name="arch" type="xml">102 <field name="arch" type="xml">
103 <tree string="Real consumption reports">103 <tree string="Real consumption reports">
104 <field name="name" />104 <field name="name" />
105 <field name="cons_location_name" string="Consumer location" />105 <field name="cons_location_name" string="Source Location" />
106 <field name="activity_name" string="Activity" />106 <field name="activity_name" string="Destination Location" />
107 <field name="period_from" />107 <field name="period_from" />
108 <field name="period_to" />108 <field name="period_to" />
109 <field name="nb_lines" />109 <field name="nb_lines" />
110110
=== modified file 'bin/addons/msf_printed_documents/report/consumption_report.rml'
--- bin/addons/msf_printed_documents/report/consumption_report.rml 2012-07-25 12:07:31 +0000
+++ bin/addons/msf_printed_documents/report/consumption_report.rml 2017-01-31 14:44:16 +0000
@@ -180,7 +180,7 @@
180 </tr>180 </tr>
181 <tr>181 <tr>
182 <td>182 <td>
183 <para style="TextInformation" alignment="LEFT"><b>Location :</b></para>183 <para style="TextInformation" alignment="LEFT"><b>Source Location :</b></para>
184 </td>184 </td>
185 <td>185 <td>
186 <para style="TextInformation" alignment="LEFT">[[ objects[0].cons_location_id and objects[0].cons_location_id.name or False]]</para>186 <para style="TextInformation" alignment="LEFT">[[ objects[0].cons_location_id and objects[0].cons_location_id.name or False]]</para>
@@ -194,7 +194,7 @@
194 </tr>194 </tr>
195 <tr>195 <tr>
196 <td>196 <td>
197 <para style="TextInformation" alignment="LEFT"><b>Activity :</b></para>197 <para style="TextInformation" alignment="LEFT"><b>Destination Location :</b></para>
198 </td>198 </td>
199 <td>199 <td>
200 <para style="TextInformation" alignment="LEFT">[[ objects[0].activity_id and objects[0].activity_id.name or False]]</para>200 <para style="TextInformation" alignment="LEFT">[[ objects[0].activity_id and objects[0].activity_id.name or False]]</para>
201201
=== modified file 'bin/addons/msf_profile/i18n/es_MF.po'
--- bin/addons/msf_profile/i18n/es_MF.po 2016-12-13 14:54:56 +0000
+++ bin/addons/msf_profile/i18n/es_MF.po 2017-01-31 14:44:16 +0000
@@ -11670,7 +11670,7 @@
11670#. module: consumption_calculation11670#. module: consumption_calculation
11671#: field:real.average.consumption,cons_location_id:011671#: field:real.average.consumption,cons_location_id:0
11672#: field:real.consumption.change.location,location_id:011672#: field:real.consumption.change.location,location_id:0
11673msgid "Consumer location"11673msgid "Source Location"
11674msgstr "Ubicación de consumo"11674msgstr "Ubicación de consumo"
1167511675
11676#. module: msf_doc_import11676#. module: msf_doc_import
@@ -62621,12 +62621,16 @@
62621msgid "No correction journal found!"62621msgid "No correction journal found!"
62622msgstr "¡No se ha encontrado un diario de corrección!"62622msgstr "¡No se ha encontrado un diario de corrección!"
6262362623
62624#. modules: base, consumption_calculation62624#. module: base
62625#: view:workflow.activity:062625#: view:workflow.activity:0
62626#: field:workflow.workitem,act_id:062626#: field:workflow.workitem,act_id:0
62627msgid "Activity"
62628msgstr "Actividad"
62629
62630#. module: consumption_calculation
62627#: view:real.average.consumption:062631#: view:real.average.consumption:0
62628#: field:real.average.consumption,activity_id:062632#: field:real.average.consumption,activity_id:0
62629msgid "Activity"62633msgid "Destination Location"
62630msgstr "Actividad"62634msgstr "Actividad"
6263162635
62632#. module: register_accounting62636#. module: register_accounting
6263362637
=== modified file 'bin/addons/msf_profile/i18n/fr_MF.po'
--- bin/addons/msf_profile/i18n/fr_MF.po 2017-01-23 16:14:11 +0000
+++ bin/addons/msf_profile/i18n/fr_MF.po 2017-01-31 14:44:16 +0000
@@ -870,14 +870,18 @@
870msgid "module base cannot be loaded! (hint: verify addons-path)"870msgid "module base cannot be loaded! (hint: verify addons-path)"
871msgstr "le module ne peut être chargé! (astuce: vérifier chemin des addons)"871msgstr "le module ne peut être chargé! (astuce: vérifier chemin des addons)"
872872
873#. modules: base, consumption_calculation873#. module: base
874#: view:workflow.activity:0874#: view:workflow.activity:0
875#: field:workflow.workitem,act_id:0875#: field:workflow.workitem,act_id:0
876#: view:real.average.consumption:0
877#: field:real.average.consumption,activity_id:0
878msgid "Activity"876msgid "Activity"
879msgstr "Activité"877msgstr "Activité"
880878
879#. module: consumption_calculation
880#: view:real.average.consumption:0
881#: field:real.average.consumption,activity_id:0
882msgid "Destination Location"
883msgstr "Destination - Zone"
884
881#. module: base885#. module: base
882#: model:res.currency,currency_name:base.KES886#: model:res.currency,currency_name:base.KES
883msgid "KENYAN SHILLING"887msgid "KENYAN SHILLING"
@@ -6129,8 +6133,8 @@
61296133
6130#. module: sale6134#. module: sale
6131#: report:msf.consumption_report:06135#: report:msf.consumption_report:0
6132msgid "Activity :"6136msgid "Destination Location :"
6133msgstr "Activité :"6137msgstr "Destination - Zone :"
61346138
6135#. module: purchase_compare_rfq6139#. module: purchase_compare_rfq
6136#: view:wizard.choose.supplier:06140#: view:wizard.choose.supplier:0
@@ -14274,7 +14278,7 @@
14274msgid "Saint Lucia"14278msgid "Saint Lucia"
14275msgstr "Sainte-Lucie"14279msgstr "Sainte-Lucie"
1427614280
14277#. modules: msf_outgoing, stock_move_tracking, stock_override, specific_rules, kit, stock14281#. modules: msf_outgoing, stock_move_tracking, stock_override, specific_rules, kit, stock, consumption_calculation
14278#: field:kit.creation.to.consume,location_src_id_to_consume:014282#: field:kit.creation.to.consume,location_src_id_to_consume:0
14279#: field:process.to.consume.line,location_src_id_process_to_consume:014283#: field:process.to.consume.line,location_src_id_process_to_consume:0
14280#: field:substitute.item,location_id_substitute_item:014284#: field:substitute.item,location_id_substitute_item:0
@@ -14297,6 +14301,9 @@
14297#: code:addons/msf_doc_import/wizard/__init__.py:7814301#: code:addons/msf_doc_import/wizard/__init__.py:78
14298#: report:delivery.order:014302#: report:delivery.order:0
14299#: report:internal.move:014303#: report:internal.move:0
14304#: field:real.average.consumption,cons_location_id:0
14305#: field:real.consumption.change.location,location_id:0
14306#: view:real.average.consumption:0
14300msgid "Source Location"14307msgid "Source Location"
14301msgstr "Zone Source"14308msgstr "Zone Source"
1430214309
@@ -16193,12 +16200,6 @@
16193msgid "Delivery Lead Time"16200msgid "Delivery Lead Time"
16194msgstr "Délai de Livraison"16201msgstr "Délai de Livraison"
1619516202
16196#. module: consumption_calculation
16197#: field:real.average.consumption,cons_location_id:0
16198#: field:real.consumption.change.location,location_id:0
16199msgid "Consumer location"
16200msgstr "Zone Consommateur"
16201
16202#. module: sale_override16203#. module: sale_override
16203#: model:ir.module.module,shortdesc:sale_override.module_meta_information16204#: model:ir.module.module,shortdesc:sale_override.module_meta_information
16204msgid "Sale override"16205msgid "Sale override"
@@ -69582,11 +69583,16 @@
6958269583
69583#. modules: consumption_calculation, sale69584#. modules: consumption_calculation, sale
69584#: report:expiry.report:069585#: report:expiry.report:0
69585#: report:msf.consumption_report:0
69586#: report:msf.product_list:069586#: report:msf.product_list:0
69587msgid "Location :"69587msgid "Location :"
69588msgstr "Zone:"69588msgstr "Zone:"
6958969589
69590#. module: consumption_calculation
69591#: report:msf.consumption_report:0
69592msgid "Location :"
69593msgstr "Zone Source :"
69594
69595
69590#. module: account69596#. module: account
69591#: view:account.period:069597#: view:account.period:0
69592msgid "Search Period"69598msgid "Search Period"
@@ -76088,3 +76094,8 @@
76088#, python-format76094#, python-format
76089msgid "A line was added to the %s %s to re-source the canceled line."76095msgid "A line was added to the %s %s to re-source the canceled line."
76090msgstr "Une ligne a été ajoutée a la %s %s pour 're-sourcer' la ligne annulée."76096msgstr "Une ligne a été ajoutée a la %s %s pour 're-sourcer' la ligne annulée."
76097
76098#. modules: sale, msf_printed_documents
76099#: report:msf.consumption_report:0
76100msgid "Source Location :"
76101msgstr "Source Location :"

Subscribers

People subscribed via source and target branches

to all changes: