[19.0][ADD] pos_settle_due_deposit_money: Keep Deposit money with due amounts task#31978#4
Closed
alan196 wants to merge 1 commit into
Closed
Conversation
The Deposit money option of the customer line in the PoS (provided by pos_settle_due) is hidden as soon as the customer has due invoices or orders, leaving only the settle options. Sometimes the cashier needs to register a customer deposit without settling a specific invoice (e.g. an invoice under review), so this module keeps the Deposit money option always available. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Linked to Odoo task #31978 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New module: pos_settle_due_deposit_money
In the Point of Sale, the Deposit money option of the customer line (provided by the
pos_settle_duemodule) is only shown when the customer has no due amount. As soon as the customer has open invoices or orders, only the settle options (Settle invoices, Settle orders, Settle due amount) are available.This module keeps the Deposit money option always available, so the cashier can register a customer deposit even when the customer has pending invoices that should not be settled yet (e.g. invoices under review).
Implementation: it extends the
CustomDropdownItemsOWL template ofpos_settle_dueto also render the Deposit money item inside the due-amount branch. Includes a tour test covering a customer with an open invoice (verified locally: 0 failed, 0 errors).Upstream OCA PR: OCA#1585
🤖 Generated with Claude Code