Set Odoo payment term on the sale order #582
No reviewers
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
servala/servala-portal!582
Loading…
Reference in a new issue
No description provided.
Delete branch "odoo-payment-term-per-sale-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolve the payment term for an organization's Odoo sale order from the organization override, the origin default, or a global env-var default (SERVALA_ODOO_PAYMENT_TERM_ID), in that order. The customer never chooses it; it is set on the sale order only. Mirrors the pricelist feature but without currency derivation, since payment terms carry no currency.
Adds the payment_term_id to the sale.order create payload in create_organization, sync_odoo, and the sanity recreate_sale_order fix, plus a payment_term_match sanity check with an always-safe sync_payment_term fix. Admin dropdowns are populated from the Odoo account.payment.term model, and the staff org-detail view shows the effective term and its source.
68071a19f7146befaa39WIP: Set Odoo payment term on the sale orderto Set Odoo payment term on the sale order