← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 768241] Re: account_followup escaping % in text

 

** Changed in: openobject-addons
       Status: In Progress => Confirmed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/768241

Title:
  account_followup escaping % in text

Status in OpenERP Modules (addons):
  Confirmed

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


References