Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) |
Technical Name |
mrp_restriction |
License | LGPL-3 |
Website | https://www.odooconcepts.com/ |
Versions | 11.0 10.0 12.0 |
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedDear 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!