← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 798570] [NEW] report - missing syntax check for paranthesis

 

Public bug reported:

I have this line in the picking report

          <para style="terp_default_8"><b>VAT:</b> [[
(picking.address_id.partner_id and picking.address_id.partner_id.vat) or
'') ]]</para>


Problem that I found is that I had an extra  closed parenthesis after the word "or ''" , which would be nice to be detected when checking syntax of the report.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/798570

Title:
  report - missing syntax check for paranthesis

Status in OpenERP Modules (addons):
  New

Bug description:
  I have this line in the picking report

            <para style="terp_default_8"><b>VAT:</b> [[
  (picking.address_id.partner_id and picking.address_id.partner_id.vat)
  or '') ]]</para>

  
  Problem that I found is that I had an extra  closed parenthesis after the word "or ''" , which would be nice to be detected when checking syntax of the report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/798570/+subscriptions


Follow ups

References