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

Bug #1172156 reported by Yann Papouin on 2013-04-24
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
Low
Yann Papouin
7.0
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
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

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
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
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.

Launchpad Janitor (janitor) wrote :

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

Changed in openobject-server:
status: Incomplete → Expired

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) on 2013-08-05
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  Edit
Everyone can see this information.

Other bug subscribers