Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3809 Lượt xem

Is it possible to add data fields to the Invoice Template in the online version of Odoo?

For example, I want to add the due date to the invoice based on the net payment terms.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Yes, you can add fields to the invoice template in the online version of odoo. You'll wanna use odoo studio, a really handy tool for customizations without diving into code. Head to your invoice template in odoo and activate studio. It gives you a neat drag and drop interface to add fields.


Since you're looking to include the due date based on net payment terms, you'll likely need to add a related field pulling from the payment terms on your invoice. In studio, create a new field, ands et it to link to the payment terms due date.


But hey, it's not all smooth sailing. Without a deeper understanding of the relationships and database structures in your specific odoo setup, it could be a bit tricky. Trust me, odoo's logic here can be weird sometimes. odoo documentation and community forums can help if you hit a wall. Don't be afraid to experiment, but backup your data or test in a sandbox to avoid unwanted stress!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

It is possible to extend the invoice model and add a new field through Studio. You can refer to the link below to add a field.

https://www.cybrosys.com/odoo/odoo-books/odoo-15-studio/build-an-app/creating-models-and-adding-fields/


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 25
1507
3
thg 2 24
5509
3
thg 2 24
36464
1
thg 7 25
1263
2
thg 11 24
2311