Skip to content

[16.0][REF]pms: move payment from journal to payment method line.#392

Open
jesusVMayor wants to merge 1 commit intoOCA:16.0from
commitsun:16.0_imp_pms_payments
Open

[16.0][REF]pms: move payment from journal to payment method line.#392
jesusVMayor wants to merge 1 commit intoOCA:16.0from
commitsun:16.0_imp_pms_payments

Conversation

@jesusVMayor
Copy link
Member

Replace allowed_pms_payments on account.journal with allowed_on_pms on account.payment.method.line, giving finer-grained control over which payment methods are available in the PMS.

Refactor do_payment() to receive a payment_method_line instead of a journal and receivable_account. Update the payment wizard to select journal first, then payment method line. Include migration scripts to preserve existing configuration.

@jesusVMayor jesusVMayor changed the title +[REF]pms: move payment from journal to payment method line. [16.0][REF]pms: move payment from journal to payment method line. Mar 10, 2026
@jesusVMayor jesusVMayor force-pushed the 16.0_imp_pms_payments branch from 26edd14 to 9672d99 Compare March 10, 2026 17:24
Replace allowed_pms_payments on account.journal with allowed_on_pms on
account.payment.method.line, giving finer-grained control over which
payment methods are available in the PMS.

Refactor do_payment() to receive a payment_method_line instead of a
journal and receivable_account. Update the payment wizard to select
journal first, then payment method line. Include migration scripts to
preserve existing configuration.
@jesusVMayor jesusVMayor force-pushed the 16.0_imp_pms_payments branch from 9672d99 to 8af36d2 Compare March 10, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant