Annotation Interface OdooModel


@Retention(RUNTIME) public @interface OdooModel
Annotation which describes which Odoo model corresponds to a field Used only on generated fields, not class For the equivalent for classes see OdooObject
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Model name
  • Element Details

    • value

      String value
      Model name
      Returns:
      the Odoo model name