Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1268 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

you can do it with partner search module provided by OCA

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
3180
0
lis 23
811
0
paź 23
1491
0
kwi 25
5187
2
paź 23
1722