12 Commits

Author SHA1 Message Date
Julien Castiaux
e333d0f6c7 [FIX] developer/api/external_api: xmlrpc removal postponed to 21.1/22
The "rpc service" API (xmlrpc/jsonrpc) have been deprecated in 19.0,
JSON-2 acting as replacement. It was at first planned to be removed in
19.1/20 but we succeeded in convicing the management It Was A Bad Idea.

The removal is postponed to Odoo 21.1/22. This makes so that if the
[Standard and extended support] policy remains the same until the
release of Odoo 22, all versions supported with no additional fees (20,
21, 22) at that time will have JSON-2:

| version | supported at 22 release | rpc services          | JSON-2 |
| ------- | ----------------------- | --------------------- | ------ |
| 18.0    | no^1                    | active                | absent |
| 19.0    | no^1                    | active but deprecated | active |
| 20.0    | yes                     | active but deprecated | active |
| 21.0    | yes                     | active but deprecated | active |
| 22.0    | yes                     | absent                | active |

^1: with no additionnal fees.
[Standard and extended support]: https://www.odoo.com/documentation/19.0/administration/standard_extended_support.html

closes odoo/documentation#16765

Related: odoo/odoo#252721
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2026-03-16 09:19:27 +00:00
Joerg Steffens
fa8f180fcf [FIX] developer/api/external_api: trailing whitespace
closes odoo/documentation#16237

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2026-02-05 12:59:44 +00:00
Joerg Steffens
8a34b1f279 [FIX] developer/api/external_api: typo function -> function
Part-of: odoo/documentation#16237
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2026-02-05 12:59:44 +00:00
Joerg Steffens
001bdac7b8 [FIX] developer/api/external_api: broken json2 JS examples
The given example contains errors.

Part-of: odoo/documentation#16237
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2026-02-05 12:59:44 +00:00
Julien Castiaux
bd516548e7 [IMP] developer/api/external_api: new JSON-2 API
closes odoo/documentation#14535

Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-09-16 06:07:14 +00:00
Raphael Collet
16c6c0f492 [IMP] *: adapt to the new check_access API
closes odoo/documentation#10991

Related: odoo/odoo#179148
Related: odoo/enterprise#69425
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-09-14 11:26:54 +00:00
tiku-odoo
cbe068e3ab [IMP] developer: external api add admonition block
closes odoo/documentation#8240

X-original-commit: d6f5e74971
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
Signed-off-by: Timothy Kukulka (tiku) <tiku@odoo.com>
2024-03-20 16:31:57 +00:00
Antoine Vandevenne (anv)
14c0438764 [IMP] reference/user_interface: reformat and clarify views reference
In particular, the following changes are made:
- Use the `class` and `attribute` admonitions along with custom
  attributes to define classes, views' root attributes, views'
  components, and attribute values. This allows re-using the responsive
  design that was made for reference lists, and getting rid of the
  previous implementation that relied on class attributes, which were not
  intended for this usage and reduce readability while hindering further
  contributions due to a lack of flexibility (no admonitions,
  sub-attributes...)
- Use definition lists to define view types to allow for clearer and
  longer descriptions.
- Rewrite and restructure the explanations when there is a lack clarity.
- Extract duplicated content to included RST files.
- Display SVG images into dedicated admonitions.
- Fix RST and English mistakes.
- Rename `view_architecture` to `view_architectures`, as it lists all
  existing architectures and doesn't describe "the architecture of a
  view".
- Replace underscores with hyphens in image file names to improve SEO.

task-3458320

closes odoo/documentation#5237

closes odoo/documentation#7497

X-original-commit: a17eaf4c6f
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-01-23 10:51:24 +00:00
Gorash
83c2012f95 [IMP] reference: rewrite and move views documentation to user_interface/
The documentation of the views is redone in order to be up to date and
has allowed a better visualization of the task on the modifiers.

task-2495504

closes odoo/documentation#3523

Related: odoo/odoo#104741
Related: odoo/enterprise#35255
Related: odoo/upgrade#4884
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2023-08-18 09:49:36 +02:00
Henrique Dias
9514d7df55 [FW][ADD] rpc: Go examples
Examples rely on `kolo/xmlrpc` as well as on the standard library package `log` to panic on error, matching snippets in other languages (which tend to raise exceptions).

As with other languages, only the RPC interaction is spelled out.

closes odoo/documentation#5129

Forward-port-of: odoo/documentation#5064
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2023-07-15 12:00:28 +02:00
Rémy Voet (ryv)
13544bca17 [IMP] orm: name_get into display_name
odoo/odoo#122085
odoo/enterprise#42599
odoo/upgrade#4780

closes odoo/documentation#4639

Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
2023-06-28 17:41:15 +02:00
Antoine Vandevenne (anv)
518db8b02a [MOV] developer/api/external_api: move "External API" to the reference dir
task-2991663

X-original-commit: 95ed856446
Part-of: odoo/documentation#3660
2023-02-23 16:09:00 +01:00