Skip to content

Commit 296bf9b

Browse files
committed
Update docs (move object/orm to top - those will be the most common)
1 parent 97337ae commit 296bf9b

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

odoo-api/src/service/mod.rs

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,28 @@
99
//! ## API Methods
1010
//!
1111
//! <br />
12+
//!
13+
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`object`](crate::service::object)</span>
14+
//!
15+
//! |<div style="width: 250px">Method</div>|<div style="width: 550px">Description</div>|<div style="width: 50px">Auth?</div>|
16+
//! |-|-|-|
17+
//! |[`execute`](object::Execute)|Call a business-logic method on an Odoo model (positional args)|**Yes**|
18+
//! |[`execute_kw`](object::ExecuteKw)|Call a business-logic method on an Odoo model (positional & keyword args)|**Yes**|
19+
//!
20+
//! <br />
21+
//!
22+
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`orm`](crate::service::orm)</span>
23+
//!
24+
//! **TBC**
25+
//!
26+
//! |<div style="width: 250px">Method</div>|<div style="width: 550px">Description</div>|<div style="width: 50px">Auth?</div>|
27+
//! |-|-|-|
28+
//! |[`create`](orm::Create)|Create a new record (or set of records)|**Yes**|
29+
//! |[`read`](orm::Read)|Read data from a record (or set of records)|**Yes**|
30+
//! |[`write`](orm::Write)|Write data to a record (or set of records)|**Yes**|
31+
//! |[`unlink`](orm::Unlink)|Delete a record (or set of records)|**Yes**|
32+
//!
33+
//! <br />
1234
//!
1335
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`common`](crate::service::common)</span>
1436
//!
@@ -40,26 +62,7 @@
4062
//! |[`db_server_version`](db::ServerVersion)|Return the server version|-|
4163
//!
4264
//! <br />
43-
//!
44-
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`object`](crate::service::object)</span>
45-
//!
46-
//! |<div style="width: 250px">Method</div>|<div style="width: 550px">Description</div>|<div style="width: 50px">Auth?</div>|
47-
//! |-|-|-|
48-
//! |[`execute`](object::Execute)|Call a business-logic method on an Odoo model (positional args)|**Yes**|
49-
//! |[`execute_kw`](object::ExecuteKw)|Call a business-logic method on an Odoo model (positional & keyword args)|**Yes**|
50-
//!
51-
//! <br />
52-
//!
53-
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`orm`](crate::service::orm)</span>
54-
//!
55-
//! **TBC**
56-
//!
57-
//! |<div style="width: 250px">Method</div>|<div style="width: 550px">Description</div>|<div style="width: 50px">Auth?</div>|
58-
//! |-|-|-|
59-
//! |||
60-
//!
61-
//! <br />
62-
//!
65+
//!
6366
//! <span style="font-size: 1.125rem; margin: 15px 0 5px 0;">[`web`](crate::service::web)</span>
6467
//!
6568
//! |<div style="width: 250px">Method</div>|<div style="width: 550px">Description</div>|<div style="width: 50px">Auth?</div>|

0 commit comments

Comments
 (0)