v 10.0 v 11.0 v 12.0 Third Party 115
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Manufacturing (mrp)
Inventory (stock)
Discuss (mail)
Technical Name mrp_restriction
LicenseLGPL-3
Websitehttps://www.odooconcepts.com/
Versions 11.0 10.0 12.0
You bought this module and need support? Click here!

Restrict to produce product more than quantity available of raw materials

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
by
Quang Huynh
on 7/22/20, 2:06 AM

Dear team, I did install this module but got error when Record Production Please help Thanks ---------FYI--------- Error: Odoo Server Error Traceback (most recent call last): File "/opt/odoo12/odoo/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo12/odoo/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/opt/odoo12/odoo/odoo/tools/pycompat.py", line 87, in reraise raise value File "/opt/odoo12/odoo/odoo/http.py", line 698, in dispatch result = self._call_function(**self.params) File "/opt/odoo12/odoo/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo12/odoo/odoo/service/model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo12/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo12/odoo/odoo/http.py", line 941, in __call__ return self.method(*args, **kw) File "/opt/odoo12/odoo/odoo/http.py", line 519, in response_wrap response = f(*args, **kw) File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo12/odoo/odoo/api.py", line 759, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/opt/odoo12/odoo/odoo/api.py", line 746, in _call_kw_multi result = method(recs, *args, **kwargs) File "/opt/odoo12/odoo-custom-addons/mrp_restriction/models/models.py", line 22, in do_produce if raw_material.quantity_available < raw_material.product_uom_qty and self.product_qty*self.get_per_unit_qty(self.production_id.bom_id.id, raw_material.product_id.id) > raw_material.quantity_available: AttributeError: 'stock.move' object has no attribute 'quantity_available'


There are no comments yet!