Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi All, What is the correct way to include the document number in the footer for qweb reports. This would be used under sale orders, invoices and picking documents. Because in a sale order the field is called number (sale_order.name eg S0/12345) and in an invoice is is called a number (account_invoice.number eg VKB/171234 )
I tried this. But when i print qweb stops without warning when a field is not available in the current table.
This is in my footer:
<span t-if='o.number' t-raw='o.number'/>
<span t-if='o.name' t-raw='o.name'/>
I check for the field but still the printing stops.
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
|Asked: 1/16/17, 12:50 PM|
|Seen: 639 times|
|Last updated: 1/20/17, 6:39 AM|