← Back to team overview

openerp-india team mailing list archive

[Bug 974241] Re: When inheriting and changing a field name the translation file does not pick this up.

 

** Attachment added: "Export_translate.ogv"
   https://bugs.launchpad.net/openobject-server/+bug/974241/+attachment/3033730/+files/Export_translate.ogv

-- 
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