35.67

v 8.0 v 9.0 v 10.0 v 11.0 Third Party 22
Required Apps eCommerce (website_sale)
Sales (sale)
Website Builder (website)
Invoicing (account)
Technical Name product_limit
Websitehttp://www.drcsystems.com/
Also available in version v 8.0 v 9.0 v 11.0 v 13.0
You bought this module and need support? Click here!
Required Apps eCommerce (website_sale)
Sales (sale)
Website Builder (website)
Invoicing (account)
Technical Name product_limit
Websitehttp://www.drcsystems.com/
Also available in version v 8.0 v 9.0 v 11.0 v 13.0

Configurations to limit product's selling quantity.

If (apply order limit) is checked, user will only be able to order from website the quantity mentioned in order limit field for that product.

Error message before adding product to cart.

When user tries to add quantity greater then that specified in backend, it will show error message.

Error message in shopping cart.

Here also if user tries to add more quantity then that specified in backend, proper error message will be shown to user.

Proper validations keeping cart in mind.

If user tries to order the product which is already in his cart, system shows error message if total quantity that is quantity in cart and newely ordered quantity is greater than that configured in backend.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
by
Loai
on 2/27/21, 2:47 PM Confirmed Purchase
Odoo Server Error
Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 642, in _handle_exception
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 684, in dispatch
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 334, in _call_function
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\service\model.py", line 101, in wrapper
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 327, in checked_call
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 942, in __call__
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\http.py", line 507, in response_wrap
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 899, in call_button
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\web\controllers\main.py", line 887, in _call_kw
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 689, in call_kw
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\api.py", line 680, in call_kw_multi
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\module\module.py", line 413, in button_immediate_install
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\module\module.py", line 495, in _button_immediate_function
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\registry.py", line 83, in new
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 377, in load_modules
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 270, in load_marked_modules
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 182, in load_module_graph
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\modules\loading.py", line 96, in _load_data
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\convert.py", line 846, in convert_file
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\convert.py", line 916, in convert_xml_import
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\convert.py", line 800, in parse
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\convert.py", line 778, in _tag_template
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\tools\convert.py", line 708, in _tag_record
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_model.py", line 1252, in _update
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_ui_view.py", line 365, in create
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 3884, in create
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\fields.py", line 1064, in determine_inverse
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_ui_view.py", line 220, in _inverse_arch
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\addons\base\ir\ir_ui_view.py", line 383, in write
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 3592, in write
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 3761, in _write
  File "C:\Program Files (x86)\Odoo 10.0\server\odoo\models.py", line 1083, in _validate_fields
ParseError: "Error while validating constraint
Element '<xpath expr="//input[@class='form-control']">' cannot be located in parent view
Error context:
View `Select Quantity`
[view_id: 889, xml_id: n/a, model: n/a, parent_id: 691]
None" while parsing None:9, near
<data inherit_id="website_sale.product_quantity" customize_show="True" name="Select Quantity">
        <xpath expr="//input[@class='form-control']" position="replace">
            <input id="product_order_limit" type="text" class="form-control" data-min="1" name="add_qty" value="1" t-att-data-max="product.order_limit"/>
        </xpath>
        <xpath expr="//div[@class='css_quantity input-group oe_website_spinner']" position="before">
            <h5 t-if="error" class="text-danger" t-esc="error"/>
        </xpath>
    </data>