← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 686051] Re: can't translate on_change warning message

 

*** This bug is a duplicate of bug 537858 ***
    https://bugs.launchpad.net/bugs/537858

same here (openacademy training):


    def onchange_remaining_seats(self, cr, uid, ids, seats, attendee_ids):
        res = {
            'value':{
                'remaining_seats_percent': self._get_remaining_seats_percent(seats, attendee_ids)
            }
        }
        if seats < 0:
            res['warning'] = {
                'title': _('Warning'),
                'message': _('You cannot have negative seats'),
            }
        return res


This is not translated, although the exported PO file is translated correctly in the meantime.

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

Title:
  can't translate on_change warning message

Status in OpenERP Addons (modules):
  New

Bug description:
  I found that e.g. in the stock module onchange_lot_id function warning
  message translation don't work. If you translate this entry, in the
  warning will show English one, not translated.

  Addons revno: 2886
  Server revno: 2156

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/686051/+subscriptions


References