Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4273 Zobrazení

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
Zrušit

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.

Nejlepší odpověď

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

 

http://consultantodoo.com

Avatar
Zrušit
Autor

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),

Related Posts Odpovědi Zobrazení Aktivita
2
zář 21
4030
1
pro 16
5530
1
srp 15
5030
2
bře 15
4174
0
bře 15
3144