Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
4 Відповіді
3676 Переглядів

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
вер. 20
3094
0
бер. 15
3965
6
січ. 23
11475
2
вер. 21
5493
0
серп. 19
3241