In some cases its required to limit the number of pieces from a product a customer can buy. I.e.:
- Buying a membership plan
- reducing the number of items in a sales action (max 3 items per customer)
We didn't found an option to limit the number of items for a product. Is this a missing feature?
Ralf
Hello... I think that it's not existing, but you can 'easily' do it with 2/3 updates in views and adding a field to specify the limit. In /shop, /shop/product, ... you don't add the button add_to_cart if quantity in basket for this product is bigger than your limit. But the limit is only 'client side'... To secure server side, you need to add a constraint for model order.
Hi Ralf, For Looking at the source code for the openerp, there is a hard limit of 2,147,483,647 partners, products, invoices, deliveries, purchases and users.
@vasanth not sure but it seems I have the same limitation on project and hr. Could you confirm ?