openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12305
[Bug 974241] Re: When inheriting and changing a field name the translation file does not pick this up.
[Expired for OpenERP Server because there has been no activity for 60
days.]
** Changed in: openobject-server
Status: Incomplete => Expired
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/974241
Title:
When inheriting and changing a field name the translation file does
not pick this up.
Status in OpenERP Server:
Expired
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/974241/+subscriptions
References