Stock Journal name can't be translated

Bug #959114 reported by Erwin van der Ploeg (BAS Solutions)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 2

Bug Description

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

Tags: i18n

Related branches

Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :
Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Erwin,

I have checked you issue. All journal are create in English .So with out defining Translation=true in field name ,you can't translate these journal .But in stock journal field still not define it. So how you are able to translate all journal except stock or bank

Thanks!!

Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :

No, you can translate them in launchpad. Zee attachment for example EXJ

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

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:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
tags: added: i18n
Revision history for this message
Erwin van der Ploeg (BAS Solutions) (erwin-bassolutions-deactivatedaccount) wrote :

Ok, clear. Thanks for fixing

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello,

'Stock Journal' is inserted from data record while installing module stock. To make 'Stock Journal'
translatable we need to inherit _prepare_all_journals() but also stop insertion of 'Stock Journal' from
data file which is not possible for stable version.

Data record 'stock_journal' is used to create ir.property so we can not remove it. Hence it would not be
fix this for stable.

I am assigning this to R&D team.

Thanks!

Changed in openobject-addons:
status: In Progress → Confirmed
assignee: OpenERP Publisher's Warranty Team (openerp-opw) → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
SnippetBucket.com (tta-openerp) wrote :

Hello,

"Stock Journal name can't be translated" bug have been Fixed.

 * It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-959114-tta

  It will be available soon in trunk.

Thanks,
Tejas - tta

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.