Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4 Antworten
3681 Ansichten

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.
Avatar
Verwerfen

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

Autor

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

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

Beste Antwort

Hello,

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

<field name="type_id"/>

Please vote if it helps. Thanks


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Sept. 20
3105
0
März 15
3974
6
Jan. 23
11482
2
Sept. 21
5498
0
Aug. 19
3244