Skip to content
Snippets Groups Projects
Commit 0e723c6c authored by Merlin (megu)'s avatar Merlin (megu)
Browse files

[FIX] point_of_sale: session's cash journal entries correctly computed


Journal entries related to a POS session without cash are wrong

Steps to reproduce:
1. Install the Point of Sale and Accounting apps
2. Go to Point of Sale -> Configuration -> Point of Sale and create a new one
3. Remove the payment method 'Cash' for this POS and save
4. Open a session in this POS, sell something and then close and post journal entries
5. Open the Journal Items related to the session

Solution:
Fix the account_move_line query to match the statement_id with the session's statement_ids

OPW-2684748

closes odoo/odoo#81790

Signed-off-by: default avatarGrazioso Andrea (agr) <agr@odoo.com>
parent b3a748a8
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