Skip to content

[17.0][FIX] sale_invoice_policy: invoice policy#16

Merged
Drsmartinkus merged 1 commit into17.0-versadafrom
17.0-fix-sale_invoice_policy-invoice-policy-required
Feb 11, 2026
Merged

[17.0][FIX] sale_invoice_policy: invoice policy#16
Drsmartinkus merged 1 commit into17.0-versadafrom
17.0-fix-sale_invoice_policy-invoice-policy-required

Conversation

@Drsmartinkus
Copy link
Copy Markdown

Fix sale order invoice policy to work regardless of required setting.

Before this fix, the sale order invoice_policy field only affected invoicing calculations when invoice_policy_required was set to True. When invoice_policy_required was False, the invoice policy was ignored, and the system fell back to the default product level invoice policies.

This was problematic because users could set an invoice policy on sale orders, but it would not work. Now the sale order invoice policy works correctly even when the field is not marked as required, allowing optional but functional invoice policies.

Fix sale order invoice policy to work regardless of required setting.

Before this fix, the sale order invoice_policy field only affected
invoicing calculations when invoice_policy_required was set to True.
When invoice_policy_required was False, the invoice policy was ignored,
and the system fell back to the default product level invoice policies.

This was problematic because users could set an invoice policy
on sale orders, but it would not work. Now the sale order invoice
policy works correctly even when the field is not marked as required,
allowing optional but functional invoice policies.
@Drsmartinkus
Copy link
Copy Markdown
Author

Task here.

@Drsmartinkus Drsmartinkus changed the title [FIX] sale_invoice_policy: invoice policy [17.0][FIX] sale_invoice_policy: invoice policy Feb 5, 2026
@Drsmartinkus Drsmartinkus changed the base branch from 17.0 to 17.0-versada February 5, 2026 13:55
@Drsmartinkus Drsmartinkus merged commit 07bc993 into 17.0-versada Feb 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants