Skip to content
Snippets Groups Projects
Commit 17bc5d31 authored by Pierre Masereel's avatar Pierre Masereel
Browse files

[FIX] point_of_sale: avoid trouble when no chart template installed


When a session is created and no orders can be created because of
misconfiguration. We should be able to close the session.

When a chart of account is installed, we should not try to create
payment methods on config that have active session as it is forbidden.

Check that there is at least one payment method configured when
launching a session.

closes odoo/odoo#61933

Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
parent ff43c875
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment