Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2699 Vizualizări
# res_company.py 
class Company(models.Model)
        _inherit = 'res.company'
        supplier_id = fields.Many2many('res.company', string='Vendor')
 

When creating a product, it is visible to all companies. By default, a single product.template (id, ) entry is created  and related product.product(id, ).
​How to set a supplier depending on the company at the time of the product creation?

Product 1 company A -> supplier1, supplier2 
Product 1 company B -> supplier3, supplier4
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 25
1513
1
feb. 25
2947
2
feb. 25
1920
1
mar. 24
1489
1
apr. 22
2388