Commit Graph

443 Commits

Author SHA1 Message Date
Charles Mutabazi
606b56ccda [FIX] Use <chatter> instead of <div class="oe_chatter">
closes 

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 

Forward-port-of: 
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 

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: 
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: 
Task-4564270

closes 

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 

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: 
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 

Related: 
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 .

task-4505030

closes 

Related: 
Related: 
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 

Related: 
Related: 
Related: 
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 

Forward-port-of: 
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 

Forward-port-of: 
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 

See: https://github.com/odoo/odoo/pull/194141
X-original-commit: ff6f55ae20
Related: 
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 

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 

Related: 
Related: 
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


closes 

Related: 
Related: 
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-12-17 13:47:14 +00:00
Bastien PIERRE
617a1d0c82 [DOC] tours
closes 

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 

Forward-port-of: 
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 

task~4063960

closes 

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 

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 

X-original-commit: d77d3ace2a
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
2024-11-30 01:38:27 +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: 
task-4306704

closes 

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 

X-original-commit: 8c93ff790e
Signed-off-by: Joris Makauskis (jmak) <jmak@odoo.com>
2024-11-15 07:00:34 +00:00
Albaraa Maktabi
6d7d9aacb7 [FIX] developer/tutorials/pdf_reports: fix a grammer issue
On line 60 changed "we will can print..." to "we will be able to print..."

closes 

X-original-commit: ad624afdf8
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-11-15 00:08:44 +00:00
Krzysztof Magusiak
6395455f0b [IMP] core: SQLObject replaces _sql_constraints
task-3390431

closes 

Related: 
Related: 
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 

Forward-port-of: 
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-11-04 15:09:23 +00:00
Damien Bouvy
44b4138a45 [ADD] Developer: data module tutorial
Introduce a new tutorial about creating Odoo modules using XML data files
instead of Python code.

This guide is follows closely the 'Server Framework 101' tutorial and
covers the following:

- Module structure and deployment
- Defining models and fields
- Setting up security and access rights
- Creating views and actions
- Implementing relational fields (many2one, many2many, one2many)
- Working with computed and related fields
- Adding business logic through server actions and automation rules
- Creating website controllers for API endpoints

The tutorial includes practical exercises and code examples to reinforce
learning, catering to developers who need to customize Odoo without writing
Python code (e.g. Odoo PS-Tech employees, partners that focus on SaaS instances
or author of Industry modules).

Task-4167176

closes 

X-original-commit: c6a8619367
Signed-off-by: Bouvy Damien (dbo) <dbo@odoo.com>
2024-11-04 13:52:31 +00:00
Julien Castiaux
f3d2381bf4 [IMP] developer/changelog: controllers json -> jsonrpc
Task-4257153

closes 

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 

Related: 
Related: 
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 

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 

X-original-commit: d50ff09926
Related: 
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 

Related: 
Related: 
Related: 
Related: 
Related: 
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 

Forward-port-of: 
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 

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 

Related: 
Related: 
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 

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


closes 

Related: 
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 

Related: 
Related: 
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 

Related: 
Related: 
Related: 
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


closes 

Related: 
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-09-06 08:24:54 +00:00
xpl-odoo
669a62c625 [IMP] upgrade: better introduce the upgrade process
closes 

X-original-commit: e05a37917d
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
2024-09-04 10:01:59 +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 .

Task~4126004

closes 

Related: 
Related: 
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 

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 

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 

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 

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 

X-original-commit: fea873780d
Related: 
Related: 
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 

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 

Related: 
Related: 
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] 

closes 

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-07-11 17:14:12 +00:00