account_followup escaping % in text

Bug #768241 reported by qdp (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

when using the module account_followup, yous ometimes get a blank text printed on the followup report for the customer, if the text set contains the character '%'. That's because OpenERP tries to inject the partner's data and fails to do so. User should be warned at the time of creation/save of the followup text that there is a problem with what he has done.

to reproduce:
*create a followup line with text: 'we will charge you an extra fee of 10%'
*try to print that text for a customer matching the criterai you have set on the line: you will get blank text
*modify your followup line with text into 'we will charge you an extra fee of 10 percents'
*try to remind again your customer: it will work

so we should raise an error when the user created that line saying that the syntax is incorrect for '%' and that he has either to use an escaping character or the word 'percent'

Thanks

Related branches

qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Quentin,

Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-768241-pso
Rev-Id: <email address hidden>
Rev-no: 4664

It will be merged soon with Addons branch.

Thanks for reporting.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
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.