Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Pdf generation question

by
André Pereira
- 01/27/2015 11:25:47

Once the returned pdf are added to the debtor I want to finalise the system. Is there a way to make the document uploading mandatory before the final tickbox can be toggled?

My suggestion would be to use a binary field to store the signed PDF. Then you can set the checkbox readonly if the binary field doesn't have file uploaded (see 'attrs' in the views XML).

Any suggestions on where to start with the pdf? I am finding very little on the topic in the docs. There is a quote and invoice generation pdf system but I am not finding much on it.

The PDFs are generated by the reporting engine. In v8, the recommended system is QWeb. Here's the docs: https://www.odoo.com/documentation/8.0/reference/reports.html
 

2015-01-27 16:07 GMT+00:00 Kobus Wolvaardt <kobus@quantsolutions.co.za>:

Hi,

I am using odoo or v8.

I have a model that stores a client's setup, it affects his billing and I want to generate PDF for the client to sign and return.

Once the returned pdf are added to the debtor I want to finalise the system. Is there a way to make the document uploading mandatory before the final tickbox can be toggled?

Any suggestions on where to start with the pdf? I am finding very little on the topic in the docs. There is a quote and invoice generation pdf system but I am not finding much on it.

I have been working through the howtos and think I just missed something somewhere.

Thanks in advance,

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




--
Cumprimentos,


André Paramés

Developer

Miraflores Office Center,

Avenida das Túlipas, nº 6,

13ºA/B 1495-161 Algés

e. app@thinkopensolutions.pt

m. +351 960 029 663

t. +351 214 123 492

f. +351 214 123 493

O conteúdo desta mensagem de correio electrónico e seus anexos é confidencial e de uso reservado. Se não é o destinatário apague-a e informe o remetente. Esta mensagem é verificada pelo nosso sistema de anti-vírus, ainda assim não aceitamos qualquer responsabilidade por danos causados por vírus que possam estar contidos nesta mensagem. Para mais informações visite-nos em www.thinkopensolutions.com.

 Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!