Hi please help me, I wrong klik remove from view for tax field and cant undo. I just want to hide taxes field in the form pdf quote. I tried to make new taxes field but not connect.
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ờ
1
Trả lời
1012
Lượt xem
Hello Ryan
Try this way
Re-add the Tax Field in Developer Mode:
- Go to the form view where the tax field was originally displayed.
- Activate Developer Mode.
- From the "View" menu, select "Manage Views."
- Find the view that originally contained the tax field (usually the account. move or sale. order view).
- Re-add the tax field using XML or directly in the UI by choosing "Edit View Form."
- Save your changes, and verify that the tax field is visible again.
Hide the Tax Field in the PDF Only:
- Go to the relevant report template for the PDF quote (usually in Settings > Technical > Reports).
- Find the template and locate the section where the tax field is being rendered (likely in the sale, order, or account). Move the template.
- Wrap the tax field in a condition that makes it invisible in the PDF. You can use the t-if attribute, such as <t t-if="False">, to hide the field from rendering without removing it from the database.
Save and Test: Save the updated report template, then generate a PDF quote to confirm the hidden tax field.
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 | |
---|---|---|---|---|
|
1
thg 2 25
|
87 | ||
|
1
thg 4 24
|
1104 | ||
|
1
thg 8 20
|
5993 | ||
|
4
thg 2 18
|
8069 | ||
|
1
thg 2 16
|
3423 |