is there a better / easier solution to design or edit the qweb templates? i want to edit the look of the PDF from invoices and ofders. it is quite complicated to edit the look and positions. is there out a report manager or wysiwyg editor to do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hello,
you can search the report in settings>Technical(visible in debug mode)>Reporting> Reports,
change report type to HTML
select Qweb views(smart button) make changes, then print the report, make changes again, rinse repeat
don't forget to copy changes to your code and upgrade module.
this is an easier method than making changes and upgrading each time.
Hello,
you can follow the example of this template which inherits the original invoice template and adds the fiscalcode
<odoo>
<template id="report_invoice_document_fc" inherit_id="account.report_invoice_document">
<xpath expr="//span[@t-if='o.partner_id.vat']" position="after">
<span t-if="o.partner_id.fiscalcode">Fiscal code: <span t-field="o.partner_id.fiscalcode"/></span>
</xpath>
</template>
</odoo>
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 11 22
|
8420 | ||
|
0
thg 10 16
|
3916 | ||
|
1
thg 6 24
|
2223 | ||
|
7
thg 4 23
|
28387 | ||
t-att-href url get error
Đã xử lý
|
|
2
thg 4 23
|
8547 |