Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2035 Vizualizări

I've been trying to find a way to create two different quotation/order forms, is this possible? I need one for a Sales Order and a separate one for an Event Order.

e.g. Sales Order form will have the following fields in the Order Lines tab:

Product/Description/Florist Notes/Card Option/Card Message/Qty/Unit Price/Subtotal

Events will only have:

Product/Description/Qty/Unit Price/Subtotal



Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Yes it is possible to define multiple views for the same  model in Odoo. If you need to display the two views in separate menus, you can specify the view id inside the menu action. Either you can create two views, or define all the fields inside the same form and hide the fields based on condition.

Thanks

Imagine profil
Abandonează
Autor

Thanks, I'm trying to do this via the Studio app but there seems to be limitations, I am unable to hide the fields in the order lines based on fields in the sales order form.

Can you walk me through creating a new view?

Autor

Thank you so much for the tutorial, it has provided much clarity for me to move forward.