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

I want to show sale.order field name my custom module how i can do that please help me.

here is the view 

<field name="saleorder_type" widget="many2many_tags" />

saleorder_type =fields.Many2many('sale.order', string='Customer/Distributor',required=True)​
Here is the .py it shows some things else not showing my required file my required field name is type_id 
in sale order module.
頭像
捨棄

What do you want to show? Sale Order's Name field or the Customer Name of the Sale Order?

作者

I want to show Customer Type this field type id (type_id).

Look into Odoo Customization Tips: https://www.scoop.it/t/learn-openerp

最佳答案

Hello,

You said your required field is type_id.  Try this then:

<field name="type_id"/>

Please vote if it helps. Thanks


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
9月 20
3066
0
3月 15
3943
6
1月 23
11454
2
9月 21
5469
0
8月 19
3220