Skip to Content
Menu
This question has been flagged
1 Reply
1722 Views

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
Discard
Best Answer

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
Discard
Author

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?

Author

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