e-commerce
e-commerce copied to clipboard
[16.0][ADD]website_sale_product_min_max_quantity
This addon allows add the minimum and maximum quantity for a product when purchasing on the sales website.
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
@adasatorres Works fine, but can you put this in language English? And create a PO for your language?
website_sale_min_qty = fields.Float(
string="Cantidad mínima",
default=1.0,
help="Cantidad mínima que se puede añadir al carrito",
)
website_sale_max_qty = fields.Float(
string="Cantidad máxima",
default=9999.0,
help="Cantidad máxima que se puede añadir al carrito",
)
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.