Skip to Content
Menu
This question has been flagged
2 Replies
179 Zobrazenia

How can I add additional column that is not on the option list in the quotation display?

Let say I want to add-in Customer Reference? I'm only restricted to what Odoo can show me in the options when I click the 3 dots.

So in a sense, I'm looking for a way to customize that option list. 

I don't want to use the Studio as much as possible.


Any help will be greatly appreciated.

Avatar
Zrušiť
Autor Best Answer

Hi Fezan!

Thank you for this, but for some weird reason, I don't have the View Type: List.

But I managed to make it work! Pointing me the User Interface > Views gave me a clue where to edit it.

Kind regards,

John

Avatar
Zrušiť
Best Answer

Navigate to Settings, then Technical.


From the User Interfaces dropdown, select Views.


Click the New button.


Enter the Name: Custom Quotation List with Customer Ref


Set the View Type to: List


Set the Model of the view to: Sale Order


Set the Inherited View to: sale.order.tree


Set the View Inherited Model to: base View


Set the Sequence to: 16


Toggle Active to Green.


In the Architecture editor, input the following code:


<xpath expr="//field[@name='name']" position="after">


<field name="client_order_ref" optional="hide"/>


</xpath>


The form should now appear as shown.


Subsequently, return to the Quotations and select Customer Reference from the list by clicking on the three dots.


Hope It will help, Happy Odoo John!

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
aug 25
605
2
júl 25
973
1
jún 25
978
2
jún 25
1225
2
máj 25
1317