Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2039 Weergaven

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



Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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?

Auteur

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