Skip to Content
Menu
This question has been flagged
1126 Views

Hi,

We use odoo 9,

I don't want in pos tree view customer to see suppliers on the customer list.

    partner = fields.Many2one('res.partner','customer'change_default=True)

   <field name="partner" domain="[('customer', '=', True)]" context="{'search_default_customer':1}" readonl="1" option"{'no_create': True, 'no_open': True} />

but domain not working. please help me.
Thanks.
Avatar
Discard