Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3279 Weergaven

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 ?


Avatar
Annuleer
Beste antwoord

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 !


Avatar
Annuleer

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

Auteur

@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 .

Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 25
850
1
jul. 25
1088
3
jul. 25
3712
3
mei 25
1957
1
jul. 25
1279