openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10119
[Bug 974241] Re: When inheriting and changing a field name the translation file does not pick this up.
Hello Niels Huylebroeck ,
I have checked this issue with latest 6.1 as well as stable.
But I did not face problem like you mention in bug report.
Exported pot file contain ....
#. module: Stock
#: field:stock.move,product_qty:0
msgid "Incoming Qty"
msgstr ""
So would you please provide more information regarding this issue.
Thanks and waiting for reply!
** Changed in: openobject-server
Status: New => Incomplete
--
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:
Incomplete
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