This commit improves current Odoo version information on the theming
page, by adding better contextual content.
Task-4316619
closesodoo/documentation#12974
X-original-commit: 543a18f82a
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current animations page, by adding updated content.
Task-4316707
closesodoo/documentation#12761
X-original-commit: 3e03ff41fa
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current theming page, by adding updated content.
Task-4316707
closesodoo/documentation#12760
X-original-commit: 167ba9c2e1
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current media page, by adding updated content.
Task-4316619
closesodoo/documentation#12750
X-original-commit: 533a6fde70
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
- Update Bootstrap documentation urls
- Update Github urls
- Update Odoo version number into the manifest example
- Dynamic Odoo version number in the code-block of the manifest example.
- Typos
closesodoo/documentation#12742
X-original-commit: ab9717eab0
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
- Change the Github urls to the correct version of Odoo
- Adapt the way of creating a snippet template and how to add it to the builder
- Add explanation about how to make a custom snippet "inner content"
closesodoo/documentation#12743
X-original-commit: eb0a61a4cf
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
This commit updates current theming page, by adding updated content.
Task-4316619
closesodoo/documentation#12673
X-original-commit: adac5615c3
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current navigation page, by adding updated
information.
Task-4316619
closesodoo/documentation#12642
X-original-commit: 299cc648b8
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
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
closesodoo/documentation#12524
X-original-commit: b3e773438a
Signed-off-by: Brandon Mercier (bram) <bram@odoo.com>
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
closesodoo/documentation#12470
X-original-commit: 0044a6bb09
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current `shapes` page, by adding new anchor links
to the sections, updated information and images.
Task-4316611
closesodoo/documentation#12458
X-original-commit: 4e0f298786
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current navigation page, by adding new anchor links
to the sections and by adding updated information.
Task-4316611
closesodoo/documentation#12456
X-original-commit: a548d85da8
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current `animations` page, by adding new anchor
links to the sections, updated information and images.
Task-4316611
closesodoo/documentation#12457
X-original-commit: 0ea5823a94
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current `translations` page, by adding new anchor
links to the sections, updated information and images.
Task-431661
closesodoo/documentation#12349
X-original-commit: e508d96c1d
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
This commit updates current theming page, by adding new anchor links to
the sections and by adding updated information.
Task-4316611
closesodoo/documentation#12285
X-original-commit: 16e1bad7db
Signed-off-by: Carlos Valverde (cvs) <cvs@odoo.com>
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
closesodoo/documentation#11956
Related: odoo/odoo#196408
Related: odoo/enterprise#78513
Related: odoo/design-themes#1044
Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
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
closesodoo/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>
A typo was found. The word "customeKanbanView" is misspelled and should be "customKanbanView", which is the constant exported correctly in the code. Therefore, the corrected line would be:
closesodoo/documentation#9676
Forward-port-of: odoo/documentation#9661
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
* 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: 91a48bfe88closesodoo/documentation#8849
X-original-commit: ef4b5f87d5
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
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
closesodoo/documentation#8712
X-original-commit: 7f623b6ad5
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Co-authored-by: Valeriya (vchu) <vchu@odoo.com>
This commit aims to improve the documentation's navigability by
redefining some categories' purposes and titles.
There is a redirection rule for each documentation page moved.
This ensures that users won't have a 404 error message.
task-3217827
closesodoo/documentation#8064
Signed-off-by: Jonathan Castillo (jcs) <jcs@odoo.com>
In particular, the following changes are made:
- Use the `class` and `attribute` admonitions along with custom
attributes to define classes, views' root attributes, views'
components, and attribute values. This allows re-using the responsive
design that was made for reference lists, and getting rid of the
previous implementation that relied on class attributes, which were not
intended for this usage and reduce readability while hindering further
contributions due to a lack of flexibility (no admonitions,
sub-attributes...)
- Use definition lists to define view types to allow for clearer and
longer descriptions.
- Rewrite and restructure the explanations when there is a lack clarity.
- Extract duplicated content to included RST files.
- Display SVG images into dedicated admonitions.
- Fix RST and English mistakes.
- Rename `view_architecture` to `view_architectures`, as it lists all
existing architectures and doesn't describe "the architecture of a
view".
- Replace underscores with hyphens in image file names to improve SEO.
task-3458320
closesodoo/documentation#5237closesodoo/documentation#7497
X-original-commit: a17eaf4c6f
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit rework the entire JavaScript tutorial series with the
following improvements:
- Each chapter is now designed to be independent, allowing learners to
follow any chapter without the necessity of completing previous ones.
- Each chapter has been transformed into a standalone module, enabling
learners to create small projects from scratch within each chapter.
- The screenshots/text/code have been updated for Odoo 17.
Currently we have 5 chapters:
- Discover Chapter 1 - Owl Components: This chapter allows to learn the
Owl framework in the `awesome_owl` module.
- Discover Chapter 2 - Build a dashboard: This chapter allows to grasp
the basic of the web framework by building a dashboard in the
`awesome_dashboard` module.
- Master Chapter 1 - Build a clicker game: This chapter allows to grasp
the web framework by building a clicker game in the `awesome_clicker`
module.
- Master Chapter 2 - Create a gallery view: This chapter allows to learn
how to create a new view type. The new view is a gallery of records
pictures. It can be done in the `awesome_gallery` module.
- Master Chapter 3 - Customize a kanban view: This chapter allows to
learn to customize a kanban view by implementing a list of customer in
the side of a kanban view. This can be done in the `awesome_kanban`
module.
The chapter on creating and customizing fields is deleted for now and
will be completely rewritten in a near future.
The chapter on testing is deleted, how-to guides will be written to
cover this subject.
The solutions for all exercises has been done for v17, the goal by
merging the new tutorial is to have this new branch structure in
`odoo/tutorials`:
- 16.0
- 16.0-solutions
- 17.0
- 17.0-discover-js-framework-solutions
- 17.0-master-odoo-web-framework-solutions
- master <-- default branch, starting point for all addons
- master-discover-js-framework-solutions
- master-master-odoo-web-framework-solutions
closesodoo/documentation#6980
Task-id: 3623595
X-original-commit: 3d4a275196
Signed-off-by: Géry Debongnie <ged@odoo.com>
Signed-off-by: Florent Dardenne (dafl) <dafl@odoo.com>
When writing the documentation page for standalone Owl apps, it was
originally required to create the env and start the services manually,
and then mount the application by giving it a bunch of configuration
parameters. During review, it was noted that this was error prone and
confusing, and as such a corresponding PR added a helper to mount the
application without needing to do much by hand. While the code was
adapted in the documentation that was merged, the text still referred to
starting the services and creating the environment which is no longer
necessary.
This commit removes references to those things, and because the
resulting section is very small and not very interesting it has been
merged into the previous section.
closesodoo/documentation#6692
X-original-commit: 8e3008f06a
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>