Community mailing list archives

community@mail.odoo.com

Re: Report Error

by
Camptocamp SA, Yannick Vaucher
- 10/07/2015 12:14:04
In Qweb you don't have acces anymore to the formatLang method.

The easiest option is to make your value a field, so it should format it on display.

Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On Wed, Oct 7, 2015 at 6:08 PM, Tibyan Hussien <tibyan.hussien@visionvalley.net> wrote:








Dear community members
I try to generate a report and stucked with this error
QWebException: "'NoneType' object is not callable" while evaluating
"formatLang(time.strftime('%Y-%m-%d'),date=True)"
you can find the full error on
http://hastebin.com/onoxarucim.rb
the wizard file
 http://hastebin.com/uqoqoladom.coffee
report xml file
http://hastebin.com/ojuladoqan.xml
report python file
 http://hastebin.com/dulehetane.coffee
and xml file for the report
 http://hastebin.com/asixapezom.xml

Regards,
Tibyan


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe