0

I'd like to add in an 'integer' field a type of date.

Like = Lifetime of a Product = 6 months

I know i can use integer for the number, like

'Lifetime' : fields.integer('Lifetime'),

But is there a possibility to add as a parameter, years, months or days?

'Lifetime' : fields.integer('Lifetime' , 'Months' , 'Years' ...),

And so on?

Thanks in advance!

NeoVe
  • 3,857
  • 8
  • 54
  • 134

1 Answers1

1

You need to add different fields.For example In the settings menu you will be able to see a scheduler> scheduled actions. There you can see interval number and interval unit.

OmaL
  • 5,037
  • 3
  • 31
  • 48