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

Proposed by jftempo
Status: Merged
Merged at revision: 4156
Proposed branch: lp:~unifield-team/unifield-server/us-988
Merge into: lp:unifield-server
Diff against target: 123 lines (+48/-6) (has conflicts)
2 files modified
bin/addons/msf_profile/i18n/fr_MF.po (+35/-1)
bin/addons/sale_override/sale.py (+13/-5)
Text conflict in bin/addons/msf_profile/i18n/fr_MF.po
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-988
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+314822@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/i18n/fr_MF.po'
2--- bin/addons/msf_profile/i18n/fr_MF.po 2017-01-02 08:52:42 +0000
3+++ bin/addons/msf_profile/i18n/fr_MF.po 2017-01-16 10:13:32 +0000
4@@ -9862,15 +9862,31 @@
5 msgid "When doing real-time inventory valuation, counterpart Journal Items for all incoming stock moves will be posted in this account. If not set on the product, the one from the product category is used."
6 msgstr "Lors de la valorisation en temps réel de l'inventaire, des lignes d'écritures du Journal de la contrepartie correspondantes à tous les mouvements d'entrée stock seront comptabilisées sous ce compte. Si la valorisation n'est pas établie sur le produit, alors celle de la catégorie du produit sera utilisée. "
7
8-#. modules: msf_doc_import, msf_partner, tender_flow, sale
9+#. modules: msf_doc_import, msf_partner, tender_flow, sale, sale_override
10 #: field:wizard.import.fo.line,fo_id:0
11 #: field:wizard.import.ir.line,fo_id:0
12 #: model:ir.actions.act_window,name:msf_partner.act_res_partner_2_sale_order
13 #: report:addons/tender_flow/report/tender_rfq_comparison_xls.mako:509
14 #: report:sale.order.allocation.report:0
15+#: code:addons/sale_override/sale.py:3120
16 msgid "Field Order"
17 msgstr "Commande de Terrain"
18
19+#. module: sale_override
20+#: code:addons/sale_override/sale.py:628
21+#: code:addons/sale_override/sale.py:641
22+#: code:addons/sale_override/sale.py:1523
23+#: code:addons/sale_override/sale.py:2053
24+#, python-format
25+msgid "Field order"
26+msgstr "Commande de terrain"
27+
28+#. module: sale_override
29+#: code:addons/sale_override/sale.py:1525
30+#, python-format
31+msgid "The %s %s has been created to re-source the canceled needs"
32+msgstr "La %s %s a été créé pour 're-sourcer' les besoins annulés"
33+
34 #. module: base
35 #: field:res.config.users,action_id:0
36 #: field:res.users,action_id:0
37@@ -38904,6 +38920,14 @@
38 msgid "Internal Request"
39 msgstr "Demande Interne"
40
41+#. module: sale_override
42+#: code:addons/sale_override/sale.py:641
43+#: code:addons/sale_override/sale.py:1523
44+#: code:addons/sale_override/sale.py:2053
45+#, python-format
46+msgid "Internal request"
47+msgstr "Demande interne"
48+
49 #. module: base
50 #: help:ir.ui.view,xml_id:0
51 msgid "ID of the view defined in xml file"
52@@ -75814,6 +75838,7 @@
53 msgid "Partner Created on this instance"
54 msgstr "Partenaire créé sur cette instance"
55
56+<<<<<<< TREE
57 #. module: account_reconciliation
58 #: code:addons/account_reconciliation/wizard/account_reconcile.py:207
59 #, python-format
60@@ -75854,3 +75879,12 @@
61 #, python-format
62 msgid "Wrong total: %.2f, instead of: %.2f"
63 msgstr "Total erroné : %.2f, au lieu de : %.2f"
64+=======
65+#. module: sale_override
66+#: code:addons/sale_override/sale.py:3119
67+#, python-format
68+msgid "A line was added to the %s %s to re-source the canceled line."
69+msgstr "Une ligne a été ajoutée a la %s %s pour 're-sourcer' la ligne annulée."
70+
71+
72+>>>>>>> MERGE-SOURCE
73
74=== modified file 'bin/addons/sale_override/sale.py'
75--- bin/addons/sale_override/sale.py 2016-11-09 09:07:38 +0000
76+++ bin/addons/sale_override/sale.py 2017-01-16 10:13:32 +0000
77@@ -638,7 +638,7 @@
78 res = super(sale_order, self).action_cancel(cr, uid, ids, context=context)
79 for order in self.read(cr, uid, ids, ['procurement_request', 'name'], context=context):
80 self.infolog(cr, uid, "The %s id:%s (%s) has been canceled." % (
81- order['procurement_request'] and 'Internal request' or 'Field order',
82+ order['procurement_request'] and _('Internal request') or _('Field order'),
83 order['id'], order['name'],
84 ))
85 return res
86@@ -1518,9 +1518,14 @@
87 'fo_to_resource': True}, context=context)
88
89
90- order_name = self.read(cr, uid, order_id, ['name'], context=context)['name']
91+ order_data = self.read(cr, uid, [order_id], ['name', 'procurement_request'], context=context)[0]
92+ order_name = order_data['name']
93+ order_type = order_data['procurement_request'] and _('Internal request') or _('Field order')
94
95- self.log(cr, uid, order_id, _('The Field order %s has been created to re-source the canceled needs') % order_name, context=dict(context, procurement_request=order.procurement_request))
96+ self.log(cr, uid, order_id, _('The %s %s has been created to re-source the canceled needs') % (
97+ order_name,
98+ order_type,
99+ ), context=dict(context, procurement_request=order.procurement_request))
100
101 return order_id
102
103@@ -2045,7 +2050,7 @@
104 msg_type.get('out', {}).get(picking_data.get('subtype', ''), '') or \
105 msg_type.get(picking_data.get('type', ''), ''),
106 picking_id, picking_data.get('name', ''),
107- order.procurement_request and 'Internal request' or 'Field order',
108+ order.procurement_request and _('Internal request') or _('Field order'),
109 order.id, order.name,
110 ))
111
112@@ -3116,7 +3121,10 @@
113 form was opened with 'Enter a Reason for Incoming cancellation' name
114 we just keep the view id (2 distincts ids for FO/IR)"""
115 self.pool.get('sale.order').log(cr, uid, order_id,
116- _('A line was added to the Field Order %s to re-source the canceled line.') % (order_name),
117+ _('A line was added to the %s %s to re-source the canceled line.') % (
118+ line.order_id and line.order_id.procurement_request and _('Internal Request') or _('Field Order'),
119+ order_name
120+ ),
121 context={'view_id': context.get('view_id', False)})
122
123 return line_id

Subscribers

People subscribed via source and target branches

to all changes: