Comments (8)
Hi @JulienMartinez. thanks for reporting. could you copy paste the python error log ?
thanks !
from pos.
Hi @legalsylvain here is the python error ,
regards .
Erreur:
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo_14/server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/home/odoo_14/server/odoo/http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "/home/odoo_14/server/odoo/http.py", line 361, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo_14/server/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo_14/server/odoo/http.py", line 349, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo_14/server/odoo/http.py", line 908, in __call__
return self.method(*args, **kw)
File "/home/odoo_14/server/odoo/http.py", line 533, in response_wrap
response = f(*args, **kw)
File "/home/odoo_14/server/addons/web/controllers/main.py", line 1376, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo_14/server/addons/web/controllers/main.py", line 1364, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo_14/server/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo_14/server/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo_14/additionnal_repositories/OCA-pos/pos_customer_required/models/pos_make_payment.py", line 29, in check
return super(PosMakePayment, self).check()
File "/home/odoo_14/server/addons/point_of_sale/wizard/pos_payment.py", line 59, in check
order._create_order_picking()
File "/home/odoo_14/additionnal_repositories/OCA-pos/pos_order_return/models/pos_order.py", line 141, in _create_order_picking
res = wizard.create_returns()
File "/home/odoo_14/server/addons/stock/wizard/stock_picking_return.py", line 175, in create_returns
new_picking_id, pick_type_id = wizard._create_returns()
File "/home/odoo_14/server/addons/delivery/models/stock_picking.py", line 312, in _create_returns
new_picking, pick_type_id = super(StockReturnPicking, self)._create_returns()
File "/home/odoo_14/server/addons/stock_account/wizard/stock_picking_return.py", line 18, in _create_returns
new_picking_id, pick_type_id = super(StockReturnPicking, self)._create_returns()
File "/home/odoo_14/server/addons/stock/wizard/stock_picking_return.py", line 120, in _create_returns
new_picking = self.picking_id.copy({
File "/home/odoo_14/server/odoo/models.py", line 4691, in copy
self.ensure_one()
File "/home/odoo_14/server/odoo/models.py", line 5028, in ensure_one
raise ValueError("Expected singleton: %s" % self)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo_14/server/odoo/http.py", line 641, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo_14/server/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Expected singleton: stock.picking()
from pos.
Hi. Did you tried to cherry picked that V12 patch ?
#481
if it works, could you make a PR ?
than,ks !
from pos.
Hi @JulienMartinez , @legalsylvain .
I was able to reproduce the problem on the runboat .
Regards
from pos.
Hi @JulienMartinez @DorianMAG , could you please propose a PR if it's working ?
Regards
from pos.
The error is reproduced in runboat if the "real time" checkbox in the "Inventory management" section is activated, otherwise it works correctly
from pos.
This is addressed here #981
from pos.
This issue is resolved, it can be closed.
from pos.
Related Issues (20)
- pos_payment_change for France HOT 3
- OCA/pos: Your 16.0 branch isn't protected HOT 5
- [RFC] 14.0 pos_user_restriction access rights issues HOT 8
- [13.0][pos_order_mgmt] Wrong format date and time in pos receipt when reprinting HOT 3
- Migration to version 16.0 HOT 18
- [14.0] pos_receipt_hide_price and l10n_es_pos modules incompatibility HOT 2
- [14] pos_receipt_hide_price is useless, it hides the price but shows vat HOT 2
- pos_empty_home bottom text collapses HOT 4
- Manage container on Odoo version 16 ? HOT 9
- Full switch to last copier template HOT 1
- Footer popup buttons pos_edit_order_line not translated HOT 2
- 12.0-16.0 handle product.packaging in Odoo PoS HOT 10
- POS Tare - compatible "kiosk" Tare station for customers to label their own containers HOT 5
- [12.0] pos_tare - Uncaught TypeError HOT 5
- Tare barcode not recognized in the scaling screen HOT 3
- [RFC] Postal Code MK Estrategy HOT 6
- [RFC] Template Email for "How would you like to receive your receipt?" HOT 1
- [13.0][pos_lot_selection] - Help to migrate pos_lot_selection version 13.0 HOT 1
- error on change paiment 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.