Most Powerful Open Source ERP

Guideline Add Date In Listbox As Editable Date-Time Field

To allow to automatically adjust date format based on user preference.
  • Last Update:2017-04-07
  • Version:001
  • Language:en

Add Dates In Listbox As Editable Date-Time Field

When displaying a date in a listbox, always configure a specific listbox_date editable Date-Time field in the form.

This allows that the date is displayed in the listbox according to the user date format preference. In ERP5, the most used searchable dates are delivery.start_date and delivery.stop_date. Using these dates in a listbox allows to do some filtering by dates. The column must be named "delivery.start_date", and the editable field must have id "delivery_start_date"

Good Example:

Bad Example: