Skip to content

feat: Add auto-submit functionality for Sales Orders from Leases#50

Merged
aakvatech merged 1 commit into
Aakvatech-Limited:version-15from
av-dev2:add_auto_submit_of_so
Mar 27, 2026
Merged

feat: Add auto-submit functionality for Sales Orders from Leases#50
aakvatech merged 1 commit into
Aakvatech-Limited:version-15from
av-dev2:add_auto_submit_of_so

Conversation

@av-dev2
Copy link
Copy Markdown
Contributor

@av-dev2 av-dev2 commented Mar 27, 2026

This commit adds a new 'auto_submit_sales_order' Check field to the 'Property Management Settings' DocType, allowing users to control whether Sales Orders generated from Leases should be automatically submitted.

It also updates the 'makeInvoice' logic in 'propms/lease_invoice.py' to evaluate this setting, and if enabled, immediately submit the newly created Sales Order document after generation.

This feature streamlines user workflow by avoiding manual state transitions, aligning Sales Order generation behavior with the existing auto-submit functionality for Sales Invoices.

This commit adds a new 'auto_submit_sales_order' Check field to the 'Property Management Settings' DocType, allowing users to control whether Sales Orders generated from Leases should be automatically submitted.

It also updates the 'makeInvoice' logic in 'propms/lease_invoice.py' to evaluate this setting, and if enabled, immediately submit the newly created Sales Order document after generation.

This feature streamlines user workflow by avoiding manual state transitions, aligning Sales Order generation behavior with the existing auto-submit functionality for Sales Invoices.
@aakvatech aakvatech merged commit 2be855f into Aakvatech-Limited:version-15 Mar 27, 2026
1 check was pending
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.

2 participants