Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3746 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 25
1467
3
lut 24
5446
3
lut 24
36325
1
lip 25
1216
2
lis 24
2282