Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4345 Näkymät

The Sales Order doesn't allow the user to select products where Can be Sold is false.  Why does the Purchase Order allow products where Can be Purchased is false?

Avatar
Hylkää

10 years later....and it still seems to be an issue. Are there any news on that? It really is a problem for us and I do not understand how this cannot be an issue for anyone else.

Paras vastaus

You could modify it with changing domain(filter) on this field.

 

http://consultantodoo.com

Avatar
Hylkää
Tekijä

purchase.order.line already has a domain filter. It just doesn't seem to work: 'product_id': fields.many2one('product.product', 'Product', domain=[('purchase_ok','=',True)], change_default=True),

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
syysk. 21
4182
1
jouluk. 16
5631
1
elok. 15
5168
2
maalisk. 15
4372
0
maalisk. 15
3259