Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2872 Lượt xem

When I try to close a POS session I get this error:

The operation cannot be completed: - Create/update: a mandatory field is not set. - Delete: another model requires the record being deleted. If possible, archive it instead. Model: Journal Entries (account.move), Field: Journal (journal_id)

So I proceed to update it the Journal in the POS settings because it's empty and I get an error that I cannot update because there's a session.

Unable to modify this PoS Configuration because there is an open PoS Session based on it.

How can I close this session?

Ảnh đại diện
Huỷ bỏ

Show me your massage

Tác giả

@B.solution when I try to edit the Point of Sales it says:

---
Something went wrong !

Unable to modify this PoS Configuration because there is an open PoS Session based on it.
----

And when I try to close the session it says:

--------
Something went wrong !
The operation cannot be completed:
- Create/update: a mandatory field is not set.
- Delete: another model requires the record being deleted. If possible, archive it instead.

Model: Journal Entries (account.move), Field: Journal (journal_id)
-------------

Câu trả lời hay nhất

You are getting this error because the value for a required field is not given. Check your custom module or code. So that on creating record in the model named 'account.move whether value is given for the field named 'journal_id'.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you, it's not a custom module, I will try to override that manually in the code.
It's weird that I cannot close the session because some fields are not given, but I cannot give those fields because a session is running.

Ảnh đại diện
Huỷ bỏ

Did you find the exact issue here? i have also this now

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 25
764
1
thg 7 25
998
3
thg 7 25
3429
3
thg 5 25
1826
1
thg 7 25
1193