Commit Graph

353 Commits

Author SHA1 Message Date
qsm-odoo
a529aa6458 [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#15239

X-original-commit: db6ceff331
Related: odoo/odoo#235226
Related: odoo/enterprise#99233
Related: odoo/design-themes#1179
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-11-12 22:05:43 +00:00
william-andre
809e336ba7 [IMP] developer: deprecated attributes in groupby buttons
In order to be more consistent, the `type="edit"` attributes have been
removed and the button is forced to be "View" in `.button-secondary`

closes odoo/documentation#15073

Related: odoo/odoo#233483
Related: odoo/enterprise#98285
Related: odoo/upgrade#8720
Signed-off-by: William André (wan) <wan@odoo.com>
2025-11-07 17:10:39 +00:00
David Vidal
42a9705530 [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#15147

X-original-commit: eae0163257
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-11-06 10:09:32 +00:00
odoo
ae7dc56247 [IMP] developer/reference/qweb: remove deprecated 't-raw' ir.qweb directive
task-4461090

closes odoo/documentation#14770

Related: odoo/odoo#229846
Related: odoo/enterprise#96230
Related: odoo/upgrade#8543
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2025-11-03 09:06:47 +00:00
Emanuele (emi)
b9c3b30041 [FIX] orm: adapt indentation of python examples
This commit fixes the current indentation of python blocks, as they're not valid.

closes odoo/documentation#15075

X-original-commit: 0afc64eb25
Signed-off-by: Emanuele Maruzzi (emi) <emi@odoo.com>
2025-10-31 12:18:06 +00:00
Emanuele
64091195ac [IMP] orm: add warning about model extension
When a model is defined with `_inherit` using a list, Odoo will do a check with the class name to set the `_name` of the model being extended. This is different than the previous versions and can be misleading

X-original-commit: bb65662f04
Part-of: odoo/documentation#15075
Signed-off-by: Emanuele Maruzzi (emi) <emi@odoo.com>
2025-10-31 12:18:06 +00:00
Aaron Bohy
0ffae360c3 [IMP] developer/../view_architectures: list width attribute
PR odoo/odoo#232988 adds the support of minimal/maximal widths for
the `width` attribute in list archs. This commit updates the
documentation accordingly.

task~5194492

closes odoo/documentation#14998

Related: odoo/enterprise#98074
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-10-27 09:29:41 +00:00
Carmine
222539a32a [IMP] reference/payment_provider: remove _should_build_inline_form method
Docs updated to reflect current payment form behavior.

task-4911075

closes odoo/documentation#14754

Related: odoo/odoo#229541
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-10-24 10:03:43 +00:00
Sébastien Theys
aababc4ad2 [IMP] tests: make post_install the default
closes odoo/documentation#6670

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2025-10-23 16:13:01 +00:00
Julien Mougenot
b7a255c60c [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#14926

X-original-commit: 33d7058113
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2025-10-20 09:45:46 +00:00
Julien Mougenot
e10ace4052 [IMP] web: HOOT - documentation
X-original-commit: eb756332c9
Part-of: odoo/documentation#14926
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2025-10-20 09:45:46 +00:00
Alvaro Fuentes
01ea7a9da4 [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#14916

X-original-commit: 33aea00007
Signed-off-by: Alvaro Fuentes Suarez (afu) <afu@odoo.com>
2025-10-17 22:22:19 +00:00
Gorash
68ab1b66b6 [IMP] base: remove t-cache directive from ir.qweb
closes odoo/documentation#14693

See: https://github.com/odoo/odoo/pull/224487
See: https://github.com/odoo/enterprise/pull/93321
X-original-commit: 761ba00755
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2025-10-17 15:51:37 +00:00
Arnaud Sibille
3b64f54334 [REM] account: remove filter_analytic
PR https://github.com/odoo/odoo/pull/223331 remove the field
`filter_analytic` on `account.report`.

task-4819486

closes odoo/documentation#14341

Related: odoo/odoo#223331
Related: odoo/enterprise#92598
Related: odoo/upgrade#8242
Signed-off-by: Arnaud Sibille (arsi) <arsi@odoo.com>
2025-10-08 08:18:18 +00:00
Krzysztof Magusiak (krma)
bcc83f9bc2 [REM] core: profiler SyncCollector
closes odoo/documentation#14774

Related: odoo/odoo#229936
Related: odoo/upgrade#8548
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-10-07 17:16:27 +00:00
Gorash
258cc10941 [IMP] base,all: remove deprecated 't-esc' ir.qweb directive
closes odoo/documentation#14675

Related: odoo/odoo#228421
Related: odoo/enterprise#95456
Related: odoo/upgrade#8493
Related: odoo/design-themes#1150
Related: odoo/upgrade-util#326
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2025-10-02 10:53:21 +00:00
Julien Castiaux
1a6794ddab [IMP] developer/api/external_api: new JSON-2 API
closes odoo/documentation#14570

X-original-commit: bd516548e7
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-09-22 10:00:31 +00:00
Paolo Gatti
ef7efd613d [IMP] developer: new CLI commands and improvements
Added the new `i18n` and `module` commands.
Added the existing `deploy`, `obfuscate`, `upgrade_code` commands.
Reviewed titles to make the commands stand out in the ToC.
Removed the no longer present `tsconfig` command.

task-4866527

closes odoo/documentation#14564

X-original-commit: 912b07fe25
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2025-09-15 19:42:57 +00:00
william-andre
d1bca2ba27 [IMP] account: remove tax_negate
closes odoo/documentation#14474

Related: odoo/odoo#225252
Related: odoo/enterprise#93761
Related: odoo/upgrade#8361
Signed-off-by: William André (wan) <wan@odoo.com>
2025-09-07 09:44:54 +00:00
Julien Castiaux
c65b0d769f [IMP] developer/reference/cli: --dev=access
closes odoo/documentation#14294

Related: odoo/odoo#222807
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-08-25 15:43:07 +00:00
Julien Castiaux
7b237096b0 [FIX] developer/reference/cli: --dev=all is a lie
--dev=all actually means --dev=xml,qweb,reload

Part-of: odoo/documentation#14294
Related: odoo/odoo#222807
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-08-25 15:43:07 +00:00
Julien Castiaux
884313c1bc [FIX] developer/reference/cli: --dev=pdb was removed
Does nothing since odoo/odoo#78857 and was removed in odoo/odoo#115076
both in 16.0.

Part-of: odoo/documentation#14294
Related: odoo/odoo#222807
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-08-25 15:43:07 +00:00
Julien Castiaux
18e8581d58 [FIX] developer/reference/cli: --dev=replica
Introduced by odoo/odoo#195280 in saas-18.1

Part-of: odoo/documentation#14294
Related: odoo/odoo#222807
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-08-25 15:43:07 +00:00
Julien Castiaux
ec7913246b [FIX] developer/reference/cli: --db_replica_host
Introduced by odoo/odoo#112000 in 17.0

Part-of: odoo/documentation#14294
Related: odoo/odoo#222807
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-08-25 15:43:07 +00:00
Sam Lieber (sali)
0ca9c66d81 [IMP] UI: odoo spreadsheet svg icons
closes odoo/documentation#14354

X-original-commit: f054d73fda
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-08-20 15:10:27 +00:00
Bastien PIERRE
fa241f6994 [IMP] web: datetime new format and numeric attribute
closes odoo/documentation#14179

Related: odoo/odoo#218387
Related: odoo/enterprise#89968
Related: odoo/upgrade#8043
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-07-31 08:43:12 +00:00
Krzysztof Magusiak (krma)
d4a9931754 [IMP] developer/reference/backend: dynamic dates
Examples of how to specify dynamic dates in domains.

closes odoo/documentation#14105

Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-07-29 16:24:39 +00:00
Krzysztof Magusiak (krma)
d9fbf17817 [IMP] developer/reference/backend: domain operators
Simplify the list of operators and add `any!`.

Part-of: odoo/documentation#14105
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-07-29 16:24:39 +00:00
Krzysztof Magusiak (krma)
5576deed6d [IMP] developer/reference: update changelog
Updating with multiple recently added features.
Mainly grouping functions and changes in domains.

Part-of: odoo/documentation#14105
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-07-29 16:24:39 +00:00
Antoine Vandevenne (anv)
13d1166022 [IMP] developer/reference/payment: update docstrings for payment models
task-3648413

closes odoo/documentation#13888

Related: odoo/odoo#209685
Related: odoo/enterprise#87325
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-07-19 13:10:33 +00:00
samueljlieber
6f7b3eee39 [IMP] UI: odoo spreadsheets svg icon updates
closes odoo/documentation#13946

X-original-commit: 354dee7660
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-07-10 01:21:01 +00:00
Chong Wang (cwg)
bde3b8fa3e [IMP] core: support reinit modules
closes odoo/documentation#13222

Related: odoo/odoo#206408
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-06-25 11:46:23 +00:00
samueljlieber
b374d2dd42 [ADD] UI: odoo spreadsheets svg icons
closes odoo/documentation#13524

X-original-commit: a35a208995
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-05-24 03:51:49 +00:00
Louis (loti)
034a1948a3 [IMP] reference/payment: autodoc _compare_notification_data
task-3797660

closes odoo/documentation#13284

Related: odoo/odoo#163860
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-05-11 09:55:45 +00:00
Leo Leclerc
7c0b0226d4 [FIX] rpc: fix code examples for tutorial and service
closes odoo/documentation#13235

X-original-commit: 2712116544
Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>
2025-05-09 02:53:28 +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