콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
3948 화면

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
3357
0
3월 15
4256
6
1월 23
11788
2
9월 21
5775
0
8월 19
3448