Commit Graph

330 Commits

Author SHA1 Message Date
Julien Castiaux
1a5e06025b [IMP] developer: new CLI commands and improvements
Added the existing `deploy`, `obfuscate`, `upgrade_code` commands.
Reviewed titles to make the commands stand out in the ToC.

task-4866527

fixes odoo/documentation#14046
backport of ef7efd613d

closes odoo/documentation#15516

X-original-commit: 62c3abb5c0
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-12-02 20:01:12 +00:00
Sylvain Francis
2d7cb7ea5b [IMP] reference/cli: db-filter for Web UI
The odoo-bin help for the db-filter says:
`Regular expressions for filtering available databases for Web UI.`

However, the current documentation does not mention that the filters
only affect the Web UI, and not the cron workers.

closes odoo/documentation#15378

X-original-commit: fbc787474f
Signed-off-by: Sylvain Francis (syf) <syf+odoo@odoo.com>
2025-11-21 06:06:02 +00:00
qsm-odoo
f7777d9a36 [IMP] developer: explain the new <asset> tag added as a fix
Also removes outdated things in the `<template>` tag documentation and
reviews it a bit.

See https://github.com/odoo/odoo/pull/104836

task-2963840

closes odoo/documentation#15069

X-original-commit: e69b37141c
Related: odoo/odoo#233899
Related: odoo/enterprise#98530
Related: odoo/design-themes#1175
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-11-10 12:06:20 +00:00
David Vidal
7b674484b4 [FIX] developer/modules: init/uninstall hooks arguments
Since https://github.com/odoo/odoo/pull/108254 an env is used
directly in the init/uninstall hooks.

closes odoo/documentation#15144

X-original-commit: eae0163257
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-11-06 11:37:17 +00:00
Julien Mougenot
03aef0a210 [FIX] web: remove/update old QUnit documentation
This commit replaces the outdated QUnit documentation with links to the
freshly written Hoot/web testing documentation.

closes odoo/documentation#14919

X-original-commit: 33d7058113
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2025-10-20 08:59:05 +00:00
Julien Mougenot
c45067758d [IMP] web: HOOT - documentation
X-original-commit: eb756332c9
Part-of: odoo/documentation#14919
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2025-10-20 08:59:05 +00:00
Alvaro Fuentes
e3b611a4ae [IMP] conf: strip odoo.upgrade.testing
The prefix that includes the full module path is just noise. This patch
follows the same strategy used to remove `odoo.upgrade.util` prefix.

To be merged after: odoo/upgrade-util#324

closes odoo/documentation#14913

X-original-commit: 33aea00007
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
2025-10-17 19:39:15 +00:00
fja-odoo
3bcbcf9b85 [IMP] developer/reference/cli: --db_replica_(host|port)
The option was introduced last year but the documentation hasn't been
updated accordingly.

closes odoo/documentation#14436

X-original-commit: f4b3b7f03a
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
Co-authored-by: Julien Castiaux <juc@odoo.com>
2025-09-01 08:13:50 +00:00
Sam Lieber (sali)
128a3b4a89 [IMP] UI: odoo spreadsheet svg icons
closes odoo/documentation#14352

X-original-commit: a97b6bccee
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-08-20 16:28:43 +00:00
samueljlieber
2fcf468f0e [IMP] UI: odoo spreadsheets svg icon updates
closes odoo/documentation#13944

X-original-commit: cc17332e84
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-07-09 15:55:35 +00:00
samueljlieber
d68d5cc7ec [ADD] UI: odoo spreadsheets svg icons
closes odoo/documentation#13523

X-original-commit: a35a208995
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-05-24 03:47:50 +00:00
Leo Leclerc
c026168577 [FIX] rpc: fix code examples for tutorial and service
closes odoo/documentation#13234

X-original-commit: 2712116544
Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>
2025-05-14 20:06:08 +00:00
Saif (segn)
631c3b436b [FIX] account: Replace filter_fiscal_position with allow_foreign_vat
task-4627315

closes odoo/documentation#12914

Related: odoo/odoo#201020
Related: odoo/enterprise#81569
Related: odoo/upgrade#7517
Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
2025-04-23 11:13:38 +00:00
Mathieu Duckerts-Antoine
85b197e1c2 [FW][FIX] developer/views: no attributes for group tag in search arch
As already explained in the text:
The `group` element takes no attributes.
We fix the given example.

closes odoo/documentation#12886

Forward-port-of: odoo/documentation#12877
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2025-04-14 17:10:33 +00:00
Alvaro Fuentes
7febd70de5 [IMP] developer/reference/cli: improve docs of --upgrade-path
Be explicit about what we expect as parameter.

closes odoo/documentation#12751

X-original-commit: 246a2122e1
Related: odoo/odoo#204388
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
2025-04-02 14:26:28 +00:00
Alvaro Fuentes
3e4ee4ed58 [IMP] developer/reference/cli: --pre-upgrade-scripts
Document the new cli option.

X-original-commit: 2844e193d4
Part-of: odoo/documentation#12751
Related: odoo/odoo#204388
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
2025-04-02 14:26:28 +00:00
Julien Castiaux
d4e13fc634 [IMP] developer,*: Demo data no longer loaded by default
Community: https://github.com/odoo/odoo/pull/194585

task-4317765

closes odoo/documentation#12680

Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-03-31 14:04:58 +00:00
Krzysztof Magusiak (krma)
67a1a99edb [IMP] orm: domain documentation update
Update the documentation for `odoo.fields.Domain` usage.

closes odoo/documentation#12662

Related: odoo/odoo#203656
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-03-30 18:37:12 +00:00
Aaron Bohy
b3d313db27 [IMP] developer/../view_architectures: add multi_create_view option
This commit documents the new `multi_create_view` attribute of the
calendar view.

Part of task~4510549

closes odoo/documentation#12262

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-03-13 11:38:01 +00:00
Aaron Bohy
0632e515da [IMP] developer/../view_architectures: add aggregate option
This commit documents the new `aggregate` attribute of the calendar
view.

Part of task~4510549

Part-of: odoo/documentation#12262
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-03-13 11:38:01 +00:00
Louis Baudoux
fb25d698f3 [IMP] extract_api: few minor improvements/corrections
- Add links to the IAP documentation.
- Remove BMP from supported file format (it never was supported ?).
- Rewording of some descriptions in the `/parse` documentation.
- More consistent abbreviations for "IAP" and "OCR".

closes odoo/documentation#12284

X-original-commit: 1a33d8ef2b
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
2025-03-05 18:39:56 +00:00
Louis Baudoux
a076c63527 [IMP] extract_api: improve implementation example
- Since the example only works for invoices, references to the other
  document types supported by the OCR have been removed.
- Handle the case where library `requests` isn't available.
- Show additional fields detected by the OCR.
- Properly set the ID of the JSON-RPC request.
- Commit 8c93ff7 should have adapted the implementation example with the
  latest API version.

X-original-commit: 56fa6da441
Part-of: odoo/documentation#12284
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
2025-03-05 18:39:56 +00:00
Odoo's Mergebot
d51324d503 [FW][IMP] developer/reference/cli: neutralize option
closes odoo/documentation#12267

Forward-port-of: odoo/documentation#11478
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Chris Smith <cgsmith105@gmail.com>
Co-authored-by: Chris Smith <chris@cgsmith.net>
2025-03-05 14:20:32 +00:00
Krzysztof Magusiak (krma)
e0c8403a31 [IMP] base: ir.cron documentation
New function and description of how to write cron jobs and related
best-practices.

task-4472661

closes odoo/documentation#12077

Related: odoo/odoo#197781
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-02-26 14:14:41 +00:00
Mathieu Duckerts-Antoine
8a91b816fc [ADD] search panel: document new field attribute "depth"
We document the new attribute "depth" available for search panel fields of type
"category" introduced in https://github.com/odoo/odoo/pull/198733.

Task ID: 4579118

closes odoo/documentation#12133

Related: odoo/odoo#198733
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2025-02-24 18:31:07 +00:00
Charles Mutabazi
606b56ccda [FIX] Use <chatter> instead of <div class="oe_chatter">
closes odoo/documentation#12110

X-original-commit: 0ae856bcf6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-02-20 01:32:49 +00:00
maad-odoo
689fdc428b [FW][FIX] developer/mixins: chatter integration instructions in form view
Previously, the chatter integration instructions described an outdated method using fields and widgets. However, the integration approach has changed, requiring only the `<chatter/ >` element in the form view with configurable options. This commit updates the instructions accordingly.

See odoo/odoo@351b047c37

closes odoo/documentation#12088

Forward-port-of: odoo/documentation#12057
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Aditya Maurya (maad) <maad@odoo.com>
2025-02-15 14:20:39 +00:00
samueljlieber
194ed8085a [FIX] clean unused resource files
X-original-commit: a4b841afce
Part-of: odoo/documentation#12082
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-02-14 21:59:10 +00:00
Aaron Bohy
ace11b6980 [IMP] developer/../view_architectures: add overflow option
This commit documents the new `overflow` option of the calendar
view.

Associated PR: odoo/odoo#197274
Task-4564270

closes odoo/documentation#12024

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-02-14 13:53:38 +00:00
Aaron Bohy
7d90b85f4f [IMP] developer/../view_architectures: show_date_picker option
This commit documents the newly added `show_date_picker` option in
the calendar view.

PR: https://github.com/odoo/odoo/pull/196945
Task-4510549

closes odoo/documentation#11985

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-02-10 08:23:51 +00:00
Aaron Bohy
d3664e0596 [IMP] developer/../view_architectures: improve calendar doc
This commit reworks the documentation of the calendar view, by
using a style which is more aligned with other views. We also
reworded and re-organized it.

Part-of: odoo/documentation#11985
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-02-10 08:23:51 +00:00
Krzysztof Magusiak (krma)
4b9939c579 [IMP] core: PEP420 native namespace
task-4035335

closes odoo/documentation#11914

Related: odoo/odoo#195664
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-02-07 10:56:22 +00:00
Krzysztof Magusiak (krma)
2fcafbfca9 [IMP] core: api.private
New decorator for private methods. See #195402.

task-4505030

closes odoo/documentation#11944

Related: odoo/odoo#195402
Related: odoo/enterprise#77961
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-02-06 13:34:09 +00:00
Rémy Voet (ryv)
2958013fa3 [IMP] orm: Deprecated read_group
Update documentation for the deprecatation of read_group.

closes odoo/documentation#11354

Related: odoo/odoo#163300
Related: odoo/enterprise#62388
Related: odoo/upgrade#6682
Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
2025-02-05 13:54:00 +00:00
William Braeckman
8b49ad8add [IMP] developer/reference/cli: --limit-time-cron-conn
Document the newly created config option.

closes odoo/documentation#11851

See: https://github.com/odoo/odoo/pull/194141
X-original-commit: ff6f55ae20
Related: odoo/odoo#195042
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2025-01-24 15:20:41 +00:00
Aaron Bohy
336c77042a [IMP] javascript reference: document domain field options
Before this commit, options of the domain field weren't documented.
Now, they are.

closes odoo/documentation#11735

X-original-commit: 04ac6de366
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-01-13 08:39:55 +00:00
Krzysztof Magusiak
8bc1f02a12 [IMP] core: remove @api.returns
closes odoo/documentation#11156

Related: odoo/odoo#182709
Related: odoo/enterprise#71424
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-12-20 01:03:17 +00:00
Krzysztof Magusiak (krma)
87b489d36e [IMP] core: odoo.domain
odoo/odoo#170009

closes odoo/documentation#10214

Related: odoo/enterprise#65013
Related: odoo/upgrade-util#99
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-12-17 13:47:14 +00:00
Bastien PIERRE
617a1d0c82 [DOC] tours
closes odoo/documentation#11553

X-original-commit: b66cad62fd
Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
2024-12-11 14:00:33 +00:00
Bastien Fafchamps (bafa)
b21777ddae [FW][IMP] developer/*: update js code to ES6
This PR updates javascript code to be up to date with the codebase standards:
- use the `static` keyword when possible
- proper owl imports
- removed unecessary `@odoo-module` directives

Task ID: 2258359

closes odoo/documentation#11483

Forward-port-of: odoo/documentation#11466
Signed-off-by: Bastien Fafchamps (bafa) <bafa@odoo.com>
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-12-11 12:35:20 +00:00
Aaron Bohy
366f1d4735 [IMP] developer/../view_architectures: new control feature
This commit updates the documentation related to the `control`
feature of list and kanban views, w.r.t. to recent changes on that
matter.

Linked to odoo/odoo#188619

task~4063960

closes odoo/documentation#11536

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-12-09 14:20:19 +00:00
Paolo Gatti
096d17c474 [IMP] developer: added "--shell-file" CLI option
Added the description for the new '--shell-file' option, which overrides
the the $PYTHONSTARTUP env variable to initialize the shell session with
a startup Python script.

Related docs: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONSTARTUP

Community PR: odoo/odoo#185075
task-4306704

closes odoo/documentation#11334

Signed-off-by: Paolo Gatti (pgi) <pgi@odoo.com>
2024-11-27 15:32:22 +00:00
Joris Makauskis
085613f63e [IMP] extract_api: Add bank statement documentation
- Updated documentation to include details on the new bank statement
extraction via OCR.
- Removed mention of unsupported discount, product, and unit features
from invoice_lines feature.

Task-3895452

closes odoo/documentation#11393

X-original-commit: 8c93ff790e
Signed-off-by: Joris Makauskis (jmak) <jmak@odoo.com>
2024-11-15 07:00:34 +00:00
Krzysztof Magusiak
6395455f0b [IMP] core: SQLObject replaces _sql_constraints
task-3390431

closes odoo/documentation#11071

Related: odoo/odoo#175783
Related: odoo/enterprise#68589
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2024-11-08 07:33:30 +00:00
Albaraa Maktabi
7c2a16b28d [FW][FIX] developer/view_architectures: fix a typo
Corrected a typo in the file view_architectures.rst on line 2395. Changed 'than' to 'that'.

closes odoo/documentation#11317

Forward-port-of: odoo/documentation#11314
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-11-04 15:09:23 +00:00
Julien Castiaux
f3d2381bf4 [IMP] developer/changelog: controllers json -> jsonrpc
Task-4257153

closes odoo/documentation#11292

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-10-28 09:38:24 +00:00
Krzysztof Magusiak
11cc952979 [IMP] core: Deprecate toggle_active()
task-3983933

closes odoo/documentation#11261

Related: odoo/odoo#183691
Related: odoo/enterprise#71963
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2024-10-23 13:30:32 +00:00
Aurelien van Delft (avd)
9049311711 [ADD] tools: add populate cli documentation
closes odoo/documentation#11266

X-original-commit: b0ede2819a
Signed-off-by: Aurélien van Delft (avd) <avd@odoo.com>
2024-10-23 12:07:16 +00:00
Joseph (jcb)
e6ffeb0da4 [IMP] web: notification: custom autoclose delay
closes odoo/documentation#11230

X-original-commit: d50ff09926
Related: odoo/odoo#184297
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2024-10-21 09:37:08 +00:00
Gorash
f1a607a9c7 [IMP] *: Using class name corresponding to odoo models
closes odoo/documentation#11115

Related: odoo/odoo#178200
Related: odoo/enterprise#69762
Related: odoo/upgrade#6577
Related: odoo/design-themes#988
Related: odoo/upgrade-util#143
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2024-10-15 09:33:04 +00:00