← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 556657] Re: o2m list widget string not translated

 

This is the screenshot with the translated sums.  The only change
between one and the other was adding the lines that I already provided
in the patch to osv/orm.py:

              if trans == node.get('sum') and ('base_model_name' in context):
                    trans = self.pool.get('ir.translation')._get_source(cr, user, context['base_model_name'], 'view', context['lang'], node.get('sum'))

** Attachment added: "Screenshot with the translated sums"
   https://bugs.launchpad.net/openobject-server/5.0/+bug/556657/+attachment/1800540/+files/sum_translated.png

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/556657

Title:
  o2m list widget string not translated

Status in OpenERP Server:
  Fix Released
Status in OpenERP Server 5.0 series:
  Confirmed
Status in OpenERP Server 6.0 series:
  Fix Released

Bug description:
  in py file
  'stock_dispo_production_sale_ids'  : one2many_sale('chricar.stock_dispo_production','order_line_id','To Sell', \

  in xml
  <field colspan="2" name="stock_dispo_production_sale_ids" nolabel="1" widget="one2many_list">
                          <tree string="Sale" editable="bottom">

  the string 'Sale' is in the translation table but not displayed in
  German