openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09972
[Bug 974241] [NEW] When inheriting and changing a field name the translation file does not pick this up.
You have been subscribed to a public bug:
Simple module:
from osv import osv, fields
class my_stock_move(osv.osv):
_inherit = 'stock.move'
_columns = {
'product_qty': fields.float('Incoming Qty', digits=(16,2)),
}
Install this module then make the module pot file (via
Translations->Import/Export->Export Translation) pick no language and PO
file format.
The file generated will *not* contain following lines as we would
expect:
#. module: my_module_name
#: field:stock.move,product_qty:0
msgid "Incoming Qty"
msgstr ""
When adding this manually and updating the module again the translations
work (when this section is added to a language .po file)
** Affects: openobject-server
Importance: Undecided
Status: New
--
When inheriting and changing a field name the translation file does not pick this up.
https://bugs.launchpad.net/bugs/974241
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server.
References