コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3290 ビュー

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
858
1
7月 25
1092
3
7月 25
3717
3
5月 25
1959
1
7月 25
1281