Skip to content

Create a numeric widget that handles null values #95

Description

@agrogers

Odoo numbers do not allow nulls. This is a pain.

Create a widget for numeric values that accommodates NULL values and other defined characters likes "A" for absent or "C" for cheating or "-" for exclude.

The widget needs options to be able to specify what can be entered.
Need to validate correct numerical format.
Need to allow number formating via options. Use standard JS or python notation perhaps - decimal places, 1000s separators etc
Changes to this field automatically update a corresponding true numeric field.
If this field is called score_alpha, the numeric field will be simply score.
The widget could set this field when a change happens to its _alpha equivalent.
It needs to function in lists and forms.
It should look and function like a normal numeric field.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions