If i select a vendor on purchase , only visible the vendors product on the product selection field.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
2
Risposte
2277
Visualizzazioni
Hi,
We can add a domain in the product_id field in purchase order line.
@api.onchange('product_id')
def product_id_on_change(self):
domain = ([('seller_ids.name', '=', self.partner_id.id)])
return {'domain': {'product_id': domain}}
Regards
If this in stock.move and in odoo 18 can you help me
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati