← Back to team overview

openerp-india team mailing list archive

[Bug 959114] Re: Stock Journal name can't be translated

 

Hello Erwin,

As indicated by Ravish, accounting journals are not translatable in the
sense of classical translatable fields in OpenERP (where each user would
see them in her own language). Instead they are processed as a special
case during the installation of a Chart of Accounts, and then created in
the language of the database. This also creates a set of journals for
each company in a multi-company environment.

However the "Stock Journal" is only created when you install the `stock`
module, in order to track the accounting moves associated with stock
valuation. As a result, this journal is not included in the process that
creates the translated versions of the journals.

This is really a minor issue as all you have to do to fix it is to edit
the name of the journal. However we can fix it by simply inheriting the
_prepare_all_journals() method of the `wizard.multi.charts.accounts`
model to implement the same behavior for the Stock Journal.

Thanks for reporting!

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

** Changed in: openobject-addons
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

** Tags added: i18n

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/959114

Title:
  Stock Journal name can't be translated

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Stock Journal name can't be translated. See in attachment. Everything
  is translated, but not the STJ Stock Journal.

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


References