Odoo Help

1

How do I set conditions for a printing a report?

By
Ademola Oke
on 5/22/13, 4:40 AM 746 views

I've designed a webkit report and I want to set conditions for printing the report based on the state of that particular document in the list i.e. if document state is "voided" do not print that document.

I've searched but I can't seem to find a domain field or anything that I can use.

How can I do this?

Thanks for your help

0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 5/22/13, 11:47 AM

In order to do some checking, you have to extend the python code which is used to call / generate the report.

Later this week I can show you an example, at the moment I cannot do it.

Thanks Patrick. I suspected that would be the way to do it but was hoping there would be an easier way. I'm looking forward to hearing from you.

Bam Technologies Limited, Ademola Oke
on 5/24/13, 5:15 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 5/22/13, 4:40 AM
Seen: 746 times
Last updated: 3/16/15, 8:10 AM