跳至內容
選單
此問題已被標幟
1 回覆
2081 瀏覽次數

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

頭像
捨棄
最佳答案

you can do it with partner search module provided by OCA

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
12月 24
3873
0
11月 23
1294
0
10月 23
2104
0
7月 25
6058
1
7月 25
1832