Commit Graph

472 Commits

Author SHA1 Message Date
Carlos Valverde
3d16e8bdd8 [IMP] howto/website: update navigation page
This commit updates current navigation page, by adding updated
information.

Task-4316619

closes odoo/documentation#12642

X-original-commit: 299cc648b8
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-27 09:07:28 +00:00
Brandon Mercier
f7738a48b1 [IMP] website_themes: layout
Add explanation about the `template_header_mobile`

closes odoo/documentation#12634

X-original-commit: 8c6fb203be
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-25 11:25:25 +00:00
Brandon Mercier
3c602e7dbe [IMP/ADD] website_themes: "Pages" page update
- New static page template mechanism;
- Replace the header_overlay screenshot
- Update the noattribute for 17.0

closes odoo/documentation#12633

X-original-commit: e99d444827
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-25 11:25:23 +00:00
Brandon Mercier
9bffe3b6d7 [IMP/ADD] website_themes: Building blocks page update
- Add "Text highlights"
- Add "grid-item-padding" and "grid-gap"
- Add Inner content snippet process

closes odoo/documentation#12623

X-original-commit: 6b73fe9f5a
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-25 09:38:22 +00:00
Josse Colpaert
6761aa3cab [IMP] localizationsdev: adapt link to fiscal position file
closes odoo/documentation#12616

X-original-commit: ea373280e1
Related: odoo/odoo#203163
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
2025-03-24 20:00:36 +00:00
Krzysztof Magusiak (krma)
ae9030b6d6 [REF] test_lint: check overwrites of create()
Fix some examples to match the method definition of Model.create().

closes odoo/documentation#12527

Related: odoo/odoo#202106
Related: odoo/enterprise#81599
Signed-off-by: Krzysztof Magusiak (krma) <krma@odoo.com>
2025-03-20 14:35:35 +00:00
Brandon Mercier
f99c6d02a2 [IMP] Website Themes - Building blocks
Rework of the whole page in order to organized / categorized the content better + Addition from the PSBE Designers Wiki

[FIX] Website Themes - Building block : Fix typo

[FIX] Corrections after review

X-original-commit: 062b4c8004

[FIX] Resolve conflicts

closes odoo/documentation#12524

X-original-commit: b3e773438a
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-17 04:29:33 +00:00
Brandon Mercier
b2f15201ba [IMP] Website Themes - Going Live
[IMP] Website Themes - Going Live

- Content update and additions
- Screenshot
- New anchors

[FIX] Fix after code review

[FIX] Anchor to noupdate attribute

closes odoo/documentation#12519

X-original-commit: 664d73771c
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-16 21:10:08 +00:00
Brandon Mercier
684b062fa3 [IMP] Website themes - Pages
[IMP] Website themes - Pages
[FIX] Website Themes - Pages: Anchors
[FIX] Website Themes - Pages: anchors
[FIX] Anchors patterns + code review modifications

closes odoo/documentation#12514

X-original-commit: f046604336
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-16 11:31:46 +00:00
Brandon Mercier
6737cf2975 [IMP] Website Themes - Layout page
[IMP] Website Themes - Layout page

[FIX] Corrections for ci

[FIX] Ci failure

[IMP] Small corrections

- Reorder the Xpath examples.
- Add an explanation for the move directive

[ADD] Website Themes - Media section

[IMP] Website Themes - Layout section modifications

[IMP] Anchors for CEDE's references (Tutorials)

[IMP] Line width + visibility conditions alert type

[IMP] Website Themes - Layout : Anchors correction

Revert "[ADD] Website Themes - Media section"

This reverts commit 4567cfe114251cdc9f263b8e97f0f988945f4db8.

[FIX] Update anchors pattern

[FIX] Media company logo reference

closes odoo/documentation#12508

X-original-commit: 4d4d75b440
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-15 17:26:22 +00:00
Carlos Valverde
dab554454f [ADD] howto/website: add media page
This commit adds the `media` page, links it to the `website_themes`
index, deletes duplicated content from the `pages.rst` page and moves
images from the current `pages` folder to a new one.

Task-4316611

closes odoo/documentation#12470

X-original-commit: 0044a6bb09
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-14 17:15:22 +00:00
Brandon Mercier
1f31c7d595 [IMP] Website Themes - Gradients
[IMP] Website Themes - Gradients

- Corrections
- New anchors

[FIX] Modifications after code review

closes odoo/documentation#12455

X-original-commit: dab8e3c71e
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-14 17:15:07 +00:00
Brandon Mercier
a2fc9b4f19 [IMP] Website Themes - Forms
[IMP] Website Themes - Forms
[FIX] Anchors + Modifications after code review

closes odoo/documentation#12459

X-original-commit: 88301e22ea
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-14 17:15:06 +00:00
Sam Degueldre
07603cc177 [FIX] frontend owl components: fix typo in code example
closes odoo/documentation#12408

X-original-commit: aaff61fd7d
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
2025-03-14 15:38:03 +00:00
Carlos Valverde
fbe20b4754 [IMP] howto/website: update shapes page
This commit updates current `shapes` page, by adding new anchor links
to the sections, updated information and images.

Task-4316611

closes odoo/documentation#12458

X-original-commit: 4e0f298786
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-14 15:37:52 +00:00
Carlos Valverde
db51564ffc [IMP] howto/website: update navigation page
This commit updates current navigation page, by adding new anchor links
to the sections and by adding updated information.

Task-4316611

closes odoo/documentation#12456

X-original-commit: a548d85da8
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-14 15:37:51 +00:00
Carlos Valverde
db29f26230 [IMP] howto/website: update animations page
This commit updates current `animations` page, by adding new anchor
links to the sections, updated information and images.

Task-4316611

closes odoo/documentation#12457

X-original-commit: 0ea5823a94
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-14 15:37:50 +00:00
Brandon Mercier
22211c33b5 [IMP] Website Themes - Setup
[IMP] Website Themes - Setup

[IMP] Website Themes - Setup

- Use the right code-block language for terminal command line
- Add a step about the 2-factor authentication

[IMP] Anchors for CEDE's references (Tutorials)

[FIX] Website Themes - Setup: Anchors

[IMP] Anchors pattern correction

closes odoo/documentation#12428

X-original-commit: 9d5ccb7e1d
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
2025-03-14 12:18:48 +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
Carlos Valverde
61bc20f514 [IMP] howto/website: update translations page
This commit updates current `translations` page, by adding new anchor
links to the sections, updated information and images.

Task-431661

closes odoo/documentation#12349

X-original-commit: e508d96c1d
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-11 11:57:53 +00:00
Carlos Valverde
65531a9297 [IMP] howto/website: update theming page
This commit updates current theming page, by adding new anchor links to
the sections and by adding updated information.

Task-4316611

closes odoo/documentation#12285

X-original-commit: 16e1bad7db
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
2025-03-10 12:55:46 +00:00
Jim Plaku
2ec544e26b [IMP] tutorials/server_framework_101: add warning about access rights
When readers follow the server framework 101 tutorial, it's common for them
to set the model access rights the same as in the tutorial's example at
chapter 4. Following this example they will have read only permissions and
by chapter 6 they will not be able to create/update or delete objects in
order to follow with the tutorial.

This commit adds a warning for readers to remind them of the relation between
the access rights set previously and what they can see and do using the UI.

closes odoo/documentation#12289

X-original-commit: 14de18996e
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-03-06 11:31:47 +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
Julien Castiaux
f9d7e3d693 [IMP] core: make author field mandatory in manifests
External contributors (and namely Odoo PS) forget to set the author
field in their manifest file. The result is that the module is wrongly
registered with `'author': 'Odoo S.A.'`.

This work makes the field mandatory, with a warning when not set. It
also offers an upgrade-code script to mass-rewrite all the manifests in
order to set the author.

task-4485983

closes odoo/documentation#11956

Related: odoo/odoo#196408
Related: odoo/enterprise#78513
Related: odoo/design-themes#1044
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
2025-02-24 10:35:06 +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
85cd521464 [FIX] resource folder match
closes odoo/documentation#12082

X-original-commit: a55fdb6313
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
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
sk-nada
8800de73af [FW][FIX] tutorials/server_framework_101: update link for example of list
previous link was for code that used tree in xml. The tree tag throws Traceback error in 18.0. This commit will provide the correct example with list tag instead of tree tag.

closes odoo/documentation#11867

Forward-port-of: odoo/documentation#11865
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-01-28 02:59:51 +00:00
Erwin Zoer
41f15664e2 [FW][FIX] developer/howtos/upgrade_custom_db: fix typo
Changed the word devolopments to developments

closes odoo/documentation#11886

Forward-port-of: odoo/documentation#11864
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2025-01-28 02:59:49 +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
Sam Lieber (sali)
f621677aa8 [FIX] tutorials: explicit translation function example
closes odoo/documentation#11526

X-original-commit: cb1f1e89d6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2024-12-05 22:36:07 +00:00
vava-odoo
d53fbfc995 [FIX] developer/tutorials/importable_modules: no self in actions
In ir.actions.server, the variable containing the record(s) is not
`self`, but `record` and `records`.
Also, since there is a word about `store` attribute for computed
fields, this commit specifies the behaviour of `readonly` attribute.

closes odoo/documentation#11489

X-original-commit: d77d3ace2a
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2024-11-30 01:38:27 +00:00