Skip to content

Data Model - impossible to change default values #11571

@djuillard

Description

@djuillard

Bug Description

When I try to change the default value of the currency to EUR, I have an error message saying that "Only isActive, isLabelSyncedWithName, label, icon and description fields can be updated for standard fields. Invalid fields: defaultValue"

Example:

When I create a new opportunity, the default currency is set to $ :

Image

If I want to change it to EURO, I go into the settings > Data Model > Opportunities, and then I select the Currency Data type here :

Image

I can then observe that the Default Value of the new display is UAE (maybe because it is the first record of the list ?) :

Image

If I try to change it to euro and save like below :

Image

I've got then an error message appearing on the bottom right of the page here :

Image

And my default value is not saved.

Expected behavior

I would like to be able to change the default value.

Technical inputs

I am running a self-hosted instance of Twenty, version v0.50.0, via docker compose.

PS : I have also noticed the same behaviour when I try to rename the stages of "Opportunities".

PS2 : Thanks for the amazing job, I am exploring that repo and it just looks amazing

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions