← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 667166] Re: Action Window called from wizard does not translated

 

There are 2 problems here:
- in the fields_view_get of account_move_journal.py some strings are not translated with _(), this will be fixed
- in the fields_view_get of account.move.line, which takes the definition of columns from the Journal itself, the (user-defined) field names are not translatable. We should see if these names should be translatable, or if we should force the (translated) name of the original field. Some other minor parts of the view need translation too (sums, etc.)

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

Title:
  Action Window called from wizard does not translated

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  

'ir.actions.act_window' called from wizard does not translated.

addons/account/wizard/account_journal_move.py line 166

return {
            'name': name,
            'view_type': 'form',
            'view_mode': 'tree,graph,form',
            'res_model': 'account.move.line',
            'view_id': False,
            'context': "{'visible_id':%s, 'search_default_journal_id':%d, 'search_default_period_id':%d}" % (journal_id, journal_id, period_id),
            'type': 'ir.actions.act_window',
            'search_view_id': res_id
        }

The opened "Journal Items" display has not translated. But select one of them and go to form view translation seems OK.





References