[trunk/7.0]format_layout from model res.partner.bank.type must not be translated

Bug #1172156 reported by Yann Papouin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Low
OpenERP's Framework R&D
OpenERP Community Backports (Server)
Status tracked in 7.0
6.1
Fix Released
Low
Yann Papouin
7.0
Fix Released
Low
Yann Papouin

Bug Description

The format layout field that is used to format the name_get text of the "res.partner.bank.type" model must not be translated.
After editing this text, in the data xml or directly the database, you have to delete the translation linked to this field to make your changes effective.

eg: Try to remove the BIC part from iban, edit base_iban_data.xml from base_iban

from:
  <field name="format_layout">%(bank_name)s: IBAN %(acc_number)s - BIC %(bank_bic)s</field>
to:
  <field name="format_layout">%(bank_name)s: IBAN %(acc_number)s</field>

Related branches

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
summary: - format_layout from model res.partner.bank.type must not be translated
+ [trunk/7.0]format_layout from model res.partner.bank.type must not be
+ translated
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Yann,

Today I am going to fix this issue, but I could not understand why you want to remove the bank_bic in format field.

I seen that the res.partner.bank.type has translatable name field, Would you please provide more information on this.

Thanks and waiting for your reply!

Changed in openobject-server:
assignee: OpenERP's Framework R&D (openerp-dev-framework) → nobody
status: Confirmed → Incomplete
Changed in openobject-server:
status: Incomplete → In Progress
Revision history for this message
Sejal Bhut(OpenERP Trainee) (sejal.bhut-openerp-deactivatedaccount) wrote :

Hello,

It has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1172156-sejal branch.
Revision No: 8727
Revision ID: <email address hidden>

Thanks,
Sejal.

Changed in openobject-server:
status: In Progress → Fix Committed
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Sejal,

Your fix doesn't related with this bug report. Please make sure bug is confirmed before the fixing because I am not sure yet its bug or not, So would you please wait until the bug is confirmed.

Thanks for understanding!

Changed in openobject-server:
status: Fix Committed → Incomplete
Revision history for this message
Yann Papouin (yann-papouin) wrote :

Amit Parik, the fix seems correct and the bug was confirmed.

Removing the BIC part was just an example to show that editing the xml do not have any effect on the translated value and, as a consequence, on the report.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Server because there has been no activity for 60 days.]

Changed in openobject-server:
status: Incomplete → Expired
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Resetting to 'confirmed'. I agree with Amit Parik that the proposed solution sets the wrong field to 'not translatable'.

Changed in openobject-server:
status: Expired → Confirmed
Amit Parik (amit-parik)
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in ocb-server:
assignee: nobody → Yann Papouin (yann-papouin)
status: New → Fix Committed
status: Fix Committed → New
assignee: Yann Papouin (yann-papouin) → nobody
Changed in ocb-server:
assignee: nobody → Yann Papouin (yann-papouin)
status: New → 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.