OdooVersion enum

Supported Odoo target versions for compatibility checks.

Inheritance
Available extensions

Values

v14 → const OdooVersion
const OdooVersion('14.0', 14)
v15 → const OdooVersion
const OdooVersion('15.0', 15)
v16 → const OdooVersion
const OdooVersion('16.0', 16)
v17 → const OdooVersion
const OdooVersion('17.0', 17)
v18 → const OdooVersion
const OdooVersion('18.0', 18)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
label → String
final
major → int
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromString(String s) → OdooVersion

Constants

values → const List<OdooVersion>
A constant List of the values in this enum, in order of their declaration.