[FIX] stock: consistent label of field
Field virtual_available on product.product is called Forecast Quantity but was not on product.template. This is not an issue to modify in stable as the term is already translated and the translation of the string of the field is not based on the source (meaning that, without reloading the translations, people will still see the translation for 'Quantity Available'). Closes #10443
This commit is contained in:
parent
7ad626f8b6
commit
bd4e6ff3bf
|
@ -6,8 +6,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-08-03 15:25+0000\n"
|
||||
"PO-Revision-Date: 2015-08-03 15:25+0000\n"
|
||||
"POT-Creation-Date: 2016-01-14 12:26+0000\n"
|
||||
"PO-Revision-Date: 2016-01-14 12:26+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -1477,6 +1477,7 @@ msgstr ""
|
|||
|
||||
#. module: stock
|
||||
#: field:product.product,virtual_available:0
|
||||
#: field:product.template,virtual_available:0
|
||||
msgid "Forecast Quantity"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3600,7 +3601,6 @@ msgid "Quantity (UOS)"
|
|||
msgstr ""
|
||||
|
||||
#. module: stock
|
||||
#: field:product.template,virtual_available:0
|
||||
#: field:stock.move,availability:0
|
||||
msgid "Quantity Available"
|
||||
msgstr ""
|
||||
|
|
|
@ -418,7 +418,7 @@ class product_template(osv.osv):
|
|||
'qty_available': fields.function(_product_available, multi='qty_available', digits_compute=dp.get_precision('Product Unit of Measure'),
|
||||
fnct_search=_search_product_quantity, type='float', string='Quantity On Hand'),
|
||||
'virtual_available': fields.function(_product_available, multi='qty_available', digits_compute=dp.get_precision('Product Unit of Measure'),
|
||||
fnct_search=_search_product_quantity, type='float', string='Quantity Available'),
|
||||
fnct_search=_search_product_quantity, type='float', string='Forecast Quantity'),
|
||||
'incoming_qty': fields.function(_product_available, multi='qty_available', digits_compute=dp.get_precision('Product Unit of Measure'),
|
||||
fnct_search=_search_product_quantity, type='float', string='Incoming'),
|
||||
'outgoing_qty': fields.function(_product_available, multi='qty_available', digits_compute=dp.get_precision('Product Unit of Measure'),
|
||||
|
|
Loading…
Reference in New Issue