Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1479 Vues

I need to be able to filter and group by pricelist on contacts, The technical field name is '

property_product_pricelist = fields.Many2one(
comodel_name='product.pricelist',
string="Pricelist",
compute='_compute_product_pricelist',
inverse="_inverse_product_pricelist",
company_dependent=False,
domain=lambda self: [('company_id', 'in', (self.env.company.id, False))],
help="This pricelist will be used, instead of the default one, for sales to the current partner")

'

I am afraid that if I add store=True, it would break something in Odoo. I'm not sure

Avatar
Ignorer
Meilleure réponse

you can do it with partner search module provided by OCA

https://apps.odoo.com/apps/modules/17.0/partner_pricelist_search

Avatar
Ignorer
Publications associées Réponses Vues Activité
2
déc. 24
3323
0
nov. 23
970
0
oct. 23
1666
0
avr. 25
5429
2
oct. 23
1817