跳至內容
選單
此問題已被標幟
1 回覆
122 瀏覽次數

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.

頭像
捨棄
最佳答案

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!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
602
2
7月 25
970
1
6月 25
977
2
6月 25
1223
2
5月 25
1315