Merge lp:~numerigraphe/openobject-addons/trunk-stock-not-yet-invoiced into lp:openobject-addons

Proposed by Numérigraphe
Status: Rejected
Rejected by: Olivier Dony (Odoo)
Proposed branch: lp:~numerigraphe/openobject-addons/trunk-stock-not-yet-invoiced
Merge into: lp:openobject-addons
Diff against target: 103 lines (+10/-10)
7 files modified
stock/i18n/fr.po (+2/-2)
stock/i18n/stock.pot (+1/-1)
stock/stock.py (+1/-1)
stock_invoice_directly/wizard/stock_invoice.py (+1/-1)
stock_location/i18n/fr.po (+2/-2)
stock_location/i18n/stock_location.pot (+1/-1)
stock_location/stock_location.py (+2/-2)
To merge this branch: bzr merge lp:~numerigraphe/openobject-addons/trunk-stock-not-yet-invoiced
Reviewer Review Type Date Requested Status
Olivier Dony (Odoo) Disapprove
OpenERP Localization Experts Pending
Review via email: mp+82535@code.launchpad.net

Description of the change

Makes the wording clearer for stock moves not yet invoiced.
I have changed the translation templates and the translations into French, and willingly left the other translations unchanged so that translators have a chance to catch up.

To post a comment you must log in.
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hi Lionel,

After reading the bug report I understand your concern, and I agree that "not yet invoiced" conveys almost the same meaning as "to be invoiced". However, I'm concerned by the fact that this is one of the possible values for the "Invoice Control" field, which are:
  - Not Applicable
  - To Be Invoiced
  - Invoiced
Here "To Be Invoiced" really means: invoicing control is enabled for this picking, and the picking will need to be invoiced. In this context "Not yet invoiced" is weaker and does not stress the fact that it is a required step: it could even be confused with the "Not Applicable" case... Is it "not yet invoiced" because it will never be, because it is optional, or because someone will do it later?

In addition to this, it requires a `hard` change of translations in order to carry its full effect (as you noted), forcing every language to re-translate several terms.

To sum up, I think this is one case (like many others) where the users need to be trained to used the software properly, and trying to adapt it too much to one kind of user will impact others negatively.

Unless we see a very strong demand for this I'd prefer to keep it as it is.

If you really want to customize it for your users there are still many options: you can always provide you own fr.po translation file (or use your own fr_XX.po sub-language) and change the label of the state or that of the column, or even hide the column completely when it is confusing them.

I hope you'll understand this point of view..

Thanks for the merge proposal nevertheless, it's always a pleasure to review your contributions!

review: Disapprove
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Dear Olivier,
Thanks for your review.
It's OK, we'll maintain that branch on our own.
Lionel.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/i18n/fr.po'
2--- stock/i18n/fr.po 2011-11-12 04:53:03 +0000
3+++ stock/i18n/fr.po 2011-11-17 13:34:34 +0000
4@@ -2953,8 +2953,8 @@
5
6 #. module: stock
7 #: selection:stock.picking,invoice_state:0
8-msgid "To Be Invoiced"
9-msgstr "À facturer"
10+msgid "Not yet invoiced"
11+msgstr "Pas encore facturé"
12
13 #. module: stock
14 #: field:stock.inventory,date_done:0
15
16=== modified file 'stock/i18n/stock.pot'
17--- stock/i18n/stock.pot 2011-11-11 13:48:19 +0000
18+++ stock/i18n/stock.pot 2011-11-17 13:34:34 +0000
19@@ -2539,7 +2539,7 @@
20
21 #. module: stock
22 #: selection:stock.picking,invoice_state:0
23-msgid "To Be Invoiced"
24+msgid "Not yet invoiced"
25 msgstr ""
26
27 #. module: stock
28
29=== modified file 'stock/stock.py'
30--- stock/stock.py 2011-11-15 09:50:27 +0000
31+++ stock/stock.py 2011-11-17 13:34:34 +0000
32@@ -647,7 +647,7 @@
33 'partner_id': fields.related('address_id','partner_id',type='many2one',relation='res.partner',string='Partner',store=True),
34 'invoice_state': fields.selection([
35 ("invoiced", "Invoiced"),
36- ("2binvoiced", "To Be Invoiced"),
37+ ("2binvoiced", "Not yet invoiced"),
38 ("none", "Not Applicable")], "Invoice Control",
39 select=True, required=True, readonly=True, states={'draft': [('readonly', False)]}),
40 'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
41
42=== modified file 'stock_invoice_directly/wizard/stock_invoice.py'
43--- stock_invoice_directly/wizard/stock_invoice.py 2011-10-16 01:28:00 +0000
44+++ stock_invoice_directly/wizard/stock_invoice.py 2011-11-17 13:34:34 +0000
45@@ -25,7 +25,7 @@
46 _inherit = 'stock.partial.picking'
47
48 def do_partial(self, cr, uid, ids, context=None):
49- """Launch Create invoice wizard if invoice state is To be Invoiced,
50+ """Launch Create invoice wizard if invoice state is "Not yet invoiced",
51 after processing the partial picking.
52 """
53 if context is None: context = {}
54
55=== modified file 'stock_location/i18n/fr.po'
56--- stock_location/i18n/fr.po 2011-11-09 18:12:56 +0000
57+++ stock_location/i18n/fr.po 2011-11-17 13:34:34 +0000
58@@ -216,8 +216,8 @@
59 #. module: stock_location
60 #: selection:product.pulled.flow,invoice_state:0
61 #: selection:stock.location.path,invoice_state:0
62-msgid "To Be Invoiced"
63-msgstr "À facturer"
64+msgid "Not yet invoiced"
65+msgstr "Pas encore facturé"
66
67 #. module: stock_location
68 #: help:stock.location.path,delay:0
69
70=== modified file 'stock_location/i18n/stock_location.pot'
71--- stock_location/i18n/stock_location.pot 2011-01-14 00:11:01 +0000
72+++ stock_location/i18n/stock_location.pot 2011-11-17 13:34:34 +0000
73@@ -196,7 +196,7 @@
74 #. module: stock_location
75 #: selection:product.pulled.flow,invoice_state:0
76 #: selection:stock.location.path,invoice_state:0
77-msgid "To Be Invoiced"
78+msgid "Not yet invoiced"
79 msgstr ""
80
81 #. module: stock_location
82
83=== modified file 'stock_location/stock_location.py'
84--- stock_location/stock_location.py 2011-05-19 12:13:36 +0000
85+++ stock_location/stock_location.py 2011-11-17 13:34:34 +0000
86@@ -34,7 +34,7 @@
87 'delay': fields.integer('Delay (days)', help="Number of days to do this transition"),
88 'invoice_state': fields.selection([
89 ("invoiced", "Invoiced"),
90- ("2binvoiced", "To Be Invoiced"),
91+ ("2binvoiced", "Not yet invoiced"),
92 ("none", "Not Applicable")], "Invoice Status",
93 required=True,),
94 'picking_type': fields.selection([('out','Sending Goods'),('in','Getting Goods'),('internal','Internal')], 'Shipping Type', required=True, select=True, help="Depending on the company, choose whatever you want to receive or send products"),
95@@ -73,7 +73,7 @@
96 'product_id':fields.many2one('product.product','Product'),
97 'invoice_state': fields.selection([
98 ("invoiced", "Invoiced"),
99- ("2binvoiced", "To Be Invoiced"),
100+ ("2binvoiced", "Not invoiced yet"),
101 ("none", "Not Applicable")], "Invoice Status",
102 required=True,),
103 }

Subscribers

People subscribed via source and target branches

to all changes: