Commit Graph

299 Commits

Author SHA1 Message Date
Charles Mutabazi
6af369fb93 [FIX] Use <chatter> instead of <div class="oe_chatter">
closes odoo/documentation#12108

X-original-commit: 0ae856bcf6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-02-19 13:06:26 +00:00
maad-odoo
875a0be668 [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#12087

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-18 12:55:44 +00:00
samueljlieber
50133a178b [FIX] clean unused resource files
X-original-commit: a4b841afce
Part-of: odoo/documentation#12078
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2025-02-14 17:51:28 +00:00
William Braeckman
ff6f55ae20 [IMP] developer/reference/cli: --limit-time-cron-conn
Document the newly created config option.

closes odoo/documentation#11843

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

closes odoo/documentation#11734

X-original-commit: 04ac6de366
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2025-01-15 07:39:53 +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
Pierre Pulinckx (PIPU)
3f048e7997 [FW][IMP] developer/testing: update tours documentation
The towers interface was modified during version 17. Therefore, in this commit, we update the documentation of this interface.

closes odoo/documentation#11117

Forward-port-of: odoo/documentation#11116
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-09-30 15:13:24 +00:00
Aaron Bohy
5765edca11 [IMP] reference/user_interface: rework kanban documentation
Following the new kanban API with `card` template.

Task~3992107

closes odoo/documentation#11081

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-09-25 08:09:21 +00:00
Victor Piryns (pivi)
840a739396 [REM] developer/performance: remove mentions to the populate tool
closes odoo/documentation#11034

Related: odoo/odoo#180318
Related: odoo/enterprise#70095
Signed-off-by: Piryns Victor (pivi) <pivi@odoo.com>
Co-authored-by: Aurelienvd <avd@odoo.com>
2024-09-21 00:13:24 +00:00
Florian Damhaut
d35306daca [IMP] reference/actions: update doc to reflect new behaviour
Improve the doc regarding Scheduled Actions.

closes odoo/documentation#11043

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-09-19 15:19:12 +00:00
Krzysztof Magusiak (krma)
c6208a51ef [IMP] core: Environment._ for translations
odoo/odoo#174844

closes odoo/documentation#10421

Related: odoo/enterprise#67528
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2024-09-15 15:44:18 +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
Gorash
f8a114b334 [IMP] all: replace <tree> in <list>
Remove historical error from semantically incorrect <tree>.

Viewtiverse
task-3599136
task-27709
task-3414068

closes odoo/documentation#8446

Related: odoo/odoo#159909
Related: odoo/enterprise#59787
Related: odoo/upgrade#5884
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2024-09-10 06:01:21 +00:00
Krzysztof Magusiak (krma)
d8ee860d02 [IMP] core: _search_display_name replaces _name_search
odoo/odoo#174967

closes odoo/documentation#10856

Related: odoo/enterprise#67592
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-09-06 08:24:54 +00:00
Aaron Bohy
a89ea48c8f [REM] reference/user_interface: remove banner_route
This commit removes the documentation about the banner_route view
attribute, which has been dropped in odoo/odoo#177244.

Task~4126004

closes odoo/documentation#10841

Related: odoo/enterprise#68621
Related: odoo/upgrade#6404
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-08-27 13:13:56 +00:00
Mathias Mathy
5651bfda49 [FIX] developer/testing: list typo
Fix a typo in the list of #introspecting-debugging-steps to make the property pause more evident to the reader

closes odoo/documentation#10157

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-08-22 18:43:23 +00:00
Antoine Vandevenne (anv)
e661c7f66e [FIX] reference/view_architectures: remove outdated and broken link
The external link to `AbstractController` class was broken, both because
the placeholder substitution mechanism doesn't work in included RST
excerpts and because the class has long been removed.

Since it makes little sense to replace the link with another link to
the `useActionLinks` hook in the context of this reference doc, this
commit removes the link altogether, as well as the erroneous mention
of class limitations.

closes odoo/documentation#10733

X-original-commit: e7d2be6366
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-08-16 06:40:59 +00:00
Antoine Vandevenne (anv)
019f94ed25 [FIX] developer/reference/data: fix typo in data file example
The attribute of `record` data operations should be `id` and not `name`.

closes odoo/documentation#10708

X-original-commit: e41e618116
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-08-15 16:19:55 +00:00
Julien Carion (juca)
1e14a5b6f8 [IMP] web: replace attribute in form dialog footer
Task-4010906

closes odoo/documentation#10519

Signed-off-by: Julien Carion (juca) <juca@odoo.com>
2024-08-09 03:15:47 +00:00
laro-odoo
47a8a8b1e3 [IMP] web: make date widget work with datetime field
Task-3698841

closes odoo/documentation#10603

X-original-commit: fea873780d
Related: odoo/odoo#175743
Related: odoo/enterprise#67988
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2024-08-06 13:34:48 +00:00
sami odoo
a395e108ac [IMP] reference/user_interface: update documentation regarding widget in graph
This commit aims to update the documentation regarding the adaptability of
widgets in the graph view of Odoo.

Task-3861721

closes odoo/documentation#10608

X-original-commit: 9dc985ef47
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2024-08-06 09:51:43 +00:00
laro-odoo
b693187c7c [IMP] web: hide seconds in datetime widgets
Task-2517675

closes odoo/documentation#10326

Related: odoo/odoo#162373
Related: odoo/enterprise#61553
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2024-07-30 16:57:57 +00:00
Aaron Bohy
63789b0aa7 [IMP] reference/user_interface: adapt list width attr doc
This commit rewrittes the documentation of the `width` attribute
in list views, following recent changes [1]

[1] odoo/odoo#170511

closes odoo/documentation#10160

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-07-11 17:14:12 +00:00
Krzysztof Magusiak (krma)
479ab2028e [IMP] core: remove 'inselect' operator
PR odoo/odoo#171371

closes odoo/documentation#10026

Related: odoo/enterprise#65796
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-07-05 05:39:11 +00:00
Sam Lieber (sali)
03d435ea31 [IMP] reference/user_interface: 17.0 odoo ui icons
closes odoo/documentation#9830

X-original-commit: d506554ed0
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2024-06-17 14:46:20 +00:00
Aaron Bohy
a164b8ab65 [IMP] reference/user interface: remove kanban-tooltip doc
This feature has been dropped.

(Part of) task `3650117`

closes odoo/documentation#9604

Related: odoo/odoo#167751
Related: odoo/enterprise#63714
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-06-17 11:35:45 +00:00
Aaron Bohy
05500b1416 [IMP] reference/user interface: kanban: color attribute
(Part of) task `3650117`

Part-of: odoo/documentation#9604
Related: odoo/odoo#167751
Related: odoo/enterprise#63714
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-06-17 11:35:45 +00:00
Aaron Bohy
ce5a8d554d [IMP] reference/user interface: kanban: can_open attribute
(Part of) task `3650117`

Part-of: odoo/documentation#9604
Related: odoo/odoo#167751
Related: odoo/enterprise#63714
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-06-17 11:35:45 +00:00
Vincent Larcin
ac5f9cd28e [IMP] developer/view_architectures: new date filters
Task-3692123

closes odoo/documentation#9398

Related: odoo/odoo#156746
Related: odoo/enterprise#59901
Related: odoo/upgrade#6034
Signed-off-by: Vincent Larcin (vila) <vila@odoo.com>
2024-05-23 16:31:34 +00:00
kcv-odoo
2adc169aec [IMP] developer/js_reference: new attribute for m2m_tags
task-3526304

closes odoo/documentation#9438

Related: odoo/upgrade#6039
Related: odoo/enterprise#62721
Related: odoo/odoo#165935
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-05-23 11:01:06 +00:00
Samuel Degueldre
2c5c43c474 [IMP] developer: add an article to explain error handling in JS
closes odoo/documentation#9310

X-original-commit: 489fe7d3ea
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
2024-05-14 08:41:55 +00:00
XPL
f7769365bc [IMP] settings: simplify the developer mode page
task-3849915

closes odoo/documentation#9238

X-original-commit: 67f02edd7b
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2024-05-08 10:25:40 +00:00
Antoine Vandevenne (anv)
6332d389f9 [FIX] reference/view_architectures/*: remove nosearch meta directives
The `nosearch` meta directive is not fully supported in included files:
the generated file is excluded from search results, but the "nosearch"
term is present in the included content.

closes odoo/documentation#9191

X-original-commit: 298a222d00
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-05-07 07:08:25 +00:00
Samuel Degueldre
59e8cb1c3a [FIX] developer: rewrite a bunch of outdated info in JS reference
Previously, a lot of information on the JavaScript reference page was
outdated.

This commit rewrites a bunch of sections to bring them up to date and
removes others that are no longer relevant. While a more profound rework
of the JS documentation is still needed, this commit at least reduces
the amount of outdated information significantly in the meantime.

closes odoo/documentation#9203

X-original-commit: 2354f0946e
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
2024-05-07 05:56:26 +00:00
Vincent Schippefilt
564f2640c7 [IMP] base: add read_group relative granularity
references https://github.com/odoo/odoo/pull/159528

closes odoo/documentation#8447

Task: 3836802
Related: odoo/odoo#159528
Signed-off-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
2024-04-25 17:11:23 +00:00
Alvaro Fuentes
3bba491f57 [IMP] doc: improve organization of upgrades docs
* Add autodoc directives to generate documentation directly from
  upgrade-util repo.
* Group all upgrades-related reference documentation into one group in
  the sidebar, instead of having two entries.
* Mention `upgrades` vs `migrations` directory. It has been supported
  since a while but nothing was explicit in the documentation.

Original commit: 91a48bfe88

closes odoo/documentation#8849

X-original-commit: ef4b5f87d5
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-04-19 13:35:52 +00:00
Antoine Vandevenne (anv)
57b7ca69d9 [IMP] developer: improve navigation in top-level pages
Prior to this commit, users had to either know in advance or guess the
location of the content they were looking for. Top-level pages of the
"Developer" section of the documentation, in particular the "Developer"
page itself, were listing their sub-pages without directions for users.

This commit brings the following changes to improve the navigation:
- add directions for users on the "Developer" page and list the three
  main categories of developer documentation ("Tutorials", "How-to
  guides", and "Reference") with explanations of their content and
  target audience;
- add categories for content cards on the "Tutorials" and "How-to
  guides" pages, and fine-tune the toctree of the "Reference" page to
  more easily locate specific topics;
- clarify what are the "Python framework" and the "JavaScript framework"
  by relabelling them to "Server framework" and "Web framework" on
  top-level pages, as some users were confused to find that the JS
  framework was not responsible for the server, and others that the
  documentation for QWeb template is located in the Python documentation;
- extract the "Setup guide" from the "Getting started" tutorial and
  rename the latter to "Server framework 101" to allow reusing the setup
  guide in other tutorials and make clear that the "Server framework 101"
  tutorial is not about the Web framework.

task-3802536

closes odoo/documentation#8712

X-original-commit: 7f623b6ad5
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Valeriya (vchu) <vchu@odoo.com>
2024-04-13 12:16:35 +00:00