Comments (6)
I also encountered with this problem
from pos.
Me too. How can we fix this?
from pos.
Hi Can you detail when the error occure, plz, which version of the module, ...
regards.
from pos.
Hi @legalsylvain. Here are the details:
- I clone OCA/pos repo
- I registered OCA/pos repo into my addons
- I edit any models through UI. I add custom field trough UI
- Exception raised:
Traceback (most recent call last):
File "/opt/odoo/odoo/openerp/http.py", line 539, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/openerp/http.py", line 576, in dispatch
result = self._call_function(*_self.params)
File "/opt/odoo/odoo/openerp/http.py", line 312, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/opt/odoo/odoo/openerp/service/model.py", line 118, in wrapper
return f(dbname, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/http.py", line 309, in checked_call
return self.endpoint(_a, *_kw)
File "/opt/odoo/odoo/openerp/http.py", line 805, in call
return self.method(_args, *_kw)
File "/opt/odoo/odoo/openerp/http.py", line 405, in response_wrap
response = f(_args, *_kw)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 944, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 205, in write
return super(ir_model,self).write(cr, user, ids, vals, context)
File "/opt/odoo/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/api.py", line 399, in old_api
result = method(recs, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/models.py", line 3788, in write
self._write(old_vals)
File "/opt/odoo/odoo/openerp/api.py", line 266, in wrapper
return new_api(self, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/api.py", line 592, in new_api
result = method(self._model, cr, uid, self.ids, _args, *_old_kwargs)
File "/opt/odoo/odoo/openerp/models.py", line 3932, in _write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "/opt/odoo/odoo/openerp/osv/fields.py", line 798, in set
id_new = obj.create(cr, user, act[2], context=context)
File "/opt/odoo/odoo/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/opt/odoo/odoo/openerp/addons/base/ir/ir_model.py", line 400, in create
model._auto_end(cr, ctx) # actually create FKs!
File "/opt/odoo/oca_pos/pos_remove_pos_category/product.py", line 79, in _auto_end
module = context['module']
KeyError: 'module'
As you can see that product.py from pos_remove_pos_category cause this. I even does not install pos_remove_pos_category
from pos.
I just uploaded a pull request to fix this.
from pos.
Closing as there's a PR.
from pos.
Related Issues (20)
- [16.0] pos_default_partner default partner should be visible in pos HOT 1
- After refund of 1 qty, POS qty display increased by 2 qty HOT 4
- [15.0] pos_event_sale : no way to refund hidden event HOT 1
- Error when trying to install [pos_order_reorder] on 15.0 HOT 1
- pos_stock_available_online HOT 3
- Migration to version 17.0 HOT 5
- pos_report_session_summary Error when printing the session summary. HOT 1
- [16] pos_partner_firstname Can't create a contact HOT 10
- pos_order_to_sale_order Fiscal Position applied at Header but not at OrderLines HOT 9
- [16.0]pos_payment_change change policy option not displayed
- V16 branch looks broken. HOT 9
- RFC: Addition of Customer Postal Code Field in Odoo POS for Enhanced Data Analysis HOT 2
- dos not work with localization HOT 3
- pos_product_packaging_container_deposit - Does'nt add Deposit
- pos_lot_selection - v15 - POS Picking Type's Location is Not Considering
- [16.0][pos_stock_available_online] Bad quantity on products list if forecasted sales
- [15.0] pos_payment_change_wizard strange behavior on rounding HOT 1
- Error en configuracion de Excluir mercancías entrantes HOT 2
- How to use this? HOT 3
- install guide please HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pos.