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

Hi ,I am working in POS in Odoo 10 .But the issue is i am not that much experience in javascript so i need help .

I have a many2many field in Product template .Now i want to enable the search for products in  POS .

Can somebody help me to do this ?


아바타
취소
베스트 답변

Hi

To enable the search you can define (or add in the existent) search view like that in your xml :


<record id="view_YourModelName_search" model="ir.ui.view">
        <field name="name">YourModelName.search</field>
        <field name="model">YourModel</field>
        <field name="arch" type="xml">
           <search string="Sprints">
                <field name="product"/>           
            </search>
        </field>
    </record>

I hope this help !


아바타
취소

This will not work in the POS (JavaScript UI).

작성자

@Taher Yes you are right ...I need javascript logic not the XML .

@Celia But anyway thanks a lot for showing the interest in my problem .

관련 게시물 답글 화면 활동
1
8월 25
873
1
7월 25
1106
3
7월 25
3808
3
5월 25
1997
1
7월 25
1291