pub struct Version {}
Expand description
Fetch detailed information about the Odoo version
This method returns some information about the Odoo version (represented in
the ServerVersionInfo
struct), along with some other metadata.
Odoo’s versioning was inspired by Python’s sys.version_info
,
with an added field to indicate whether the server is running Enterprise or
Community edition. In practice, minor
and micro
are typically both 0
,
so an Odoo version looks something like: 14.0.0.final.0.e
See: odoo/service/common.py
See also: odoo/service/common.py
See also: odoo/release.py
Trait Implementations§
source§impl JsonRpcParams for Version
impl JsonRpcParams for Version
type Container<T> = OdooApiContainer<Version>
type Response = VersionResponse
fn build(self) -> JsonRpcRequest<Self>
source§impl OdooApiMethod for Version
impl OdooApiMethod for Version
source§fn describe(&self) -> (&'static str, &'static str)
fn describe(&self) -> (&'static str, &'static str)
Describe the JSON-RPC service and method for this type
source§fn _build(self) -> JsonRpcRequest<Self>
fn _build(self) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest