FeatureFuel
1

Default invoice custom fields when creating from Tasks/Projects (and/or apply dropdown first option server-side)

Source: invoiceninja/invoiceninja#13427 · opened by @SemoTech
Context Follow-up from closed issue [#13425]( (thanks @turbo124). Sorry that was filed as an Issue — we’ll use Discussions for enhancements going forward. Turbo’s tip: if the invoice custom field is a dropdown, the first option is used as the UI default. That helps for invoices created in the admin create form. Remaining gap (why this Discussion) InvoiceFactory still initializes custom_value1–4 to empty strings, and InvoiceService::fillDefaults() does not seed them from the custom-field definition. Paths that build/save invoices without going through the create-form dropdown (e.g. Task/Project → invoice API builders, InvoiceOutstandingTasksService, linkEntities() after save) can still persist with a blank custom field even when the company field is configured as a dropdown like Type|Manual,ACH. Request Would it make sense for upstream to: 1. Apply the first dropdown option as the server-side default when creating invoices (Factory / fillDefaults), and/or 2. Document that drop…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests