Commit Graph

2941 Commits

Author SHA1 Message Date
Elisabeth Dickinson
620cdc2249 [IMP] fix typo 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
9801c68791 [IMP] icon fixes 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
725db742bf [IMP][CSS] Fix unresponsive font-size on alert text
By removing $font-size-sm on the alerts, the text is bigger. The title
text and its icon have been increased as well.
2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
6faece15a4 [IMP][CSS] Remove browser prefixes and unnecessary mixins 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
6c02973f8a [IMP][CSS] Fix literals in alerts containing tabs 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
a470171c19 [IMP][CSS] Fix data indentation 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
4bde47cf32 [IMP][CSS] Fix alignment on modal btn-close 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
3b6ee77d28 [IMP] Indentation fix 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
ed55f50489 [REM] Removal of changelog
The idea was not developed and it has since been decided not to do it.
2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
6cf27d2dba [IMP][CSS] Use BS font-weight variables and fix
Instead of redefining font-weights, we override the BS variables and add
one extra font-weight in the newly-introduced extended utilities file.
After this change all the variables needed replacing and some tweaking
was needed to get the same or closely similar result as before this
change.

By doing so the font-weight classes in the typography file were obsolete
and hence removed.
Some other font-weight issues which were already there have been fixed
in this commit too.
2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
1dedf7c1d0 [IMP][CSS] Fix color variable issue 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
77719c64ef [IMP][CSS] Revamp of the .o_spoiler element to use same code as alerts 2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
7b75586379 [IMP][CSS]Change order of imported scss files
The aim of this cleanup is to use as many bootstrap classes, functions
and utilities as possible to reduce the amount of extra code.
Instead of redefining variables, BS variables are overridden in the
bootstrap_overridden file.

In order to be able to reuse these overridden variables within our own
custom variable file — and after consultation with SRI — it was
determined that the variables.scss file should come after the bootstrap
files in the order of importation, unlike the order of odoo website's
scss files.

Changes to variables in bootstrap_overridden have been made to adapt to
the new structure.
2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
54ae084ba5 [IMP][CSS] Use CSS variables to style different alert types
CSS variables avoid having to repeat code for each alert type.
Also remove the need to add "tip" to the theme-colors (no need for "tip"
styled buttons, badges etc, especially as tips use the primary color) by
styling `.alert-tip` with customized copy of BS alert mechanism.

In order to be able to modify the icons with a CSS variable,
the `content` attribute has been removed from the `o-inline-icon` mixin.
Code where this mixin is called in other places has been adapted.
2023-01-04 11:10:09 +01:00
Elisabeth Dickinson
42c2d1f521 [IMP][CSS] Place overrides in bootstrap_overridden file 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
ced7f75438 [IMP][CSS] Clean up the file according to conventions
Includes reordering styles, renaming variables ($o-*),
re-indenting lines, removing commented code
2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
9a1ed4a8fe [IMP][CSS] Set gray background to it's original darker color 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
64e79eb69e [IMP][CSS] Improve literals styling (o_code, .sig-*) 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
934e55502a [IMP][CSS] Update _sphinx_basic.css after update of Sphinx
Note: Some code is commented instead of being deleted.
This allows us to keep track of what should be commented out in future
versions of Sphinx' basic CSS.
2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
a38b3d8c63 [IMP][CSS] Remove repetitive or unnused CSS 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
3b386da91c [IMP][CSS] Improve margins on headings and sections 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
3b36e21109 [IMP][CSS] Replace margin and padding values with variables 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
5d1cd7a239 [IMP][CSS] Revamp modal to use all BS classes and variables 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
0f291e4cb9 [IMP][CSS] Rescale heading fonts 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
6c995a0d62 [IMP][CSS] Cleanup font variables 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
f3ccdf6da9 [IMP][CSS] Cleanup admonitions (alerts) 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
4ccb4651b2 [IMP][CSS] Cleanup color variables 2023-01-04 11:10:08 +01:00
Elisabeth Dickinson
0869aeaf0a [IMP][CSS] update literals styles (.o_code, .sig-*) 2023-01-04 11:10:08 +01:00
Antoine Vandevenne (anv)
fe7bc47fea [IMP] odoo_theme: add the class o_code on literals
The SCSS that styles the `literal`, `code`, `file`, and `command` roles
is excessively complex because the traduction from RST to HTML is not
consistent from one role to another: some use `<code>` elements, some
have the `code` class, some wrap the literal with a `span` element.

This commit sets the `o_code` class on all of these roles' parent node
at translation time to allow simplifying the SCSS target.
2023-01-04 11:10:08 +01:00
Sam Lieber (sali)
bef43fe83a [FIX] maintain: correct cname definition
closes odoo/documentation#3278

X-original-commit: 96cbb2375b
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-04 00:13:47 +01:00
Jason (jaae)
06b160171c [IMP] project: adding description to app page
closes odoo/documentation#3271

X-original-commit: cfaf4386c2
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-03 23:29:09 +01:00
Mahmoud Metwally
55f59daf2b [FIX] rdtraining: fix writing errors
closes odoo/documentation#3258

X-original-commit: ad91dd67c2
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 13:11:28 +01:00
Antoine Vandevenne (anv)
f547cd73ef [FIX] odoo_theme: handle non-TOC pages when expanding top menu entries
Trying to "expand" those pages lead to a crash that prevented the menu
to be shown at all.

Incidentally, this commit also handles menus built with `make fast`.

closes odoo/documentation#3255

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 11:08:32 +01:00
Antoine Vandevenne (anv)
e1576abd53 [IMP] odoo_theme: scroll the active menu entry into view
In large and deeply nested TOCs like finance/accounting/fiscal_localizations/localizations/...
the user had to constantly scroll the menu to the menu entry they just
clicked because the expanded menu would not fit entirely on the page.
With this commit, the active menu entry is scrolled into view each time
the page is reloaded.

The previous behavior was also the reason for expanding the top menu
entries on only the homepage. Thanks to the scroll, they now always
expand.

Part-of: odoo/documentation#3255
2023-01-03 11:08:32 +01:00
Antoine Vandevenne (anv)
a30fa81d87 [IMP] README: remove version from links and rephrase explanations
task-2897123

closes odoo/documentation#3254

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 10:19:42 +01:00
Antoine Vandevenne (anv)
fa4ff59b68 [IMP] contributing/documentation: rewrite the contribution guide
This commit restructures the contributing/documentation page to re-use
content introduced with the contributing/development page and to
display the two ways to contribute (github vs git) in content tabs
rather than sections.

The guide is simplified and updated to delegate long explanations to
other pages or websites, remove useless images and focus on getting
users ready to contribute.

task-2897123

Part-of: odoo/documentation#3254
2023-01-03 10:19:42 +01:00
Antoine Vandevenne (anv)
b7b36e9ef4 [ADD] contributing/development: add a guide to contribute to the codebase
In addition, this commit extracts the git guidelines from the coding
guidelines. This helps link the git guidelines and unclutter the coding
guidelines, which should focus on only the programming languages.

task-2897123

Part-of: odoo/documentation#3254
2023-01-03 10:19:42 +01:00
Michelle Vu (mivu)
89d0eb03bc [IMP] Calendar: Outlook sync warning
If committed, this will add a more elaborate warning on what users must
do before syncing Odoo Calendar and Outlook Calendar. It also removes
mentions of the import/export process and archiving events, as these
methods will not prevent email spam from Outlook.

closes odoo/documentation#3231

X-original-commit: 5979a772e6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Michelle (mivu) <mivu@odoo.com>
2022-12-27 18:32:56 +01:00
Antoine Vandevenne (anv)
018e52fa4b [FIX] odoo_theme: update the aria attributes when scrolling the page TOC
The 'aria-expanded' attribute was not correctly updated on the `i` tag
when the user scrolled through the page TOC. This caused a minor issue
where an arrow (`i`) that was collapsed manually with a click would no
longer automatically expand afterward.

task-3106339

closes odoo/documentation#3236

X-original-commit: f068065d39
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-27 13:04:09 +01:00
Antoine Vandevenne (anv)
36518c3d8d [IMP] odoo_theme: expand top level menu items on the homepage
When the user browses the homepage, it might be hard to figure out
where they want to go next. Expanding the top-level menu items could
help them with that.

task-3106339

X-original-commit: 5526f1ea07
Part-of: odoo/documentation#3236
2022-12-27 13:04:09 +01:00
Sam Lieber (sali)
a432eefd67 [IMP] general: add notes about dev mode toggle
closes odoo/documentation#3206

X-original-commit: 54b903e512
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2022-12-19 18:18:23 +01:00
LoredanaLrpz
0b6e21c2ee [IMP] POS: upgrade the getting started page for 15.0
Task ID: 3090486
Do not fw to 16.0 without making other changes

closes odoo/documentation#3216

X-original-commit: fb5c128fb7
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Perazzo Loredana (lrpz) <lrpz@odoo.com>
2022-12-19 13:42:06 +01:00
Antoine Vandevenne (anv)
15f42d679b [FIX] legal: fix path to PDF version of legal agreements
closes odoo/documentation#3213

X-original-commit: 3af62b0a59
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-16 11:01:42 +01:00
Zachary Straub (ZST)
dee94a86d6 [IMP] email: add mail.default.from_filter
closes odoo/documentation#3205

X-original-commit: df041b1212
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Zachary Straub <zst@odoo.com>
2022-12-15 20:13:03 +01:00
Victor Feyens
6b956e2a78 [FIX] core: latex build
* latest droid package does not allow \usepackage{droid} anymore,
replace it with the right package

See https://github.com/MiKTeX/miktex-packaging/issues/136

* remove reference to package texlive-generic-recommended since
it's not available nor necessary since ubuntu 20.04.

closes odoo/documentation#3201

X-original-commit: 816f437064
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-12-15 18:47:18 +01:00
Tom Aarab (toaa)
871888dfb9 [IMP] odoo.sh: Python libraries and packages
Added a note on packages and extensions support

closes odoo/documentation#3185

Taskid: 2836438
X-original-commit: b1f92ba879
Signed-off-by: Aarab Tom (toaa) <toaa@odoo.com>
2022-12-13 09:02:32 +01:00
Horacio Tellez
6b3a572c65 [FIX] rdtraining: remove outdated line about journal_id in chapter 14
In chapter 14 there was a line pointing to how to deduce a default journal for an `account.move` record.
This is no longer needed as the journal is automatically deduced using the `move_type`. Also, the link
point to an outdated line of code that causes an error.

closes odoo/documentation#3180

X-original-commit: 67a75a3e11
Signed-off-by: Horacio Tellez Perez (hote) <hote@odoo.com>
2022-12-12 09:24:58 +01:00
KC (ksc)
636200de26 [ADD] marketing automation: added 'getting started' section and docs to round out documentation
closes odoo/documentation#3159

X-original-commit: 4f6b03dc5b
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2022-12-08 17:15:33 +01:00
Antoine Vandevenne (anv)
cd2c7f3e0b [IMP] contributing: list the ways to contribute to Odoo
task-2897123

closes odoo/documentation#3152

X-original-commit: a309372d83
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2022-12-08 15:26:16 +01:00
Antoine Vandevenne (anv)
0a272f64ce [IMP] conf.py, *: interpolate the version and releases in the content
This commit replaces hard-coded occurrences of the version and of the
last, current and next releases' version with placeholders interpolated
at build time to avoid manually updating these after each freeze.

task-2917614

closes odoo/documentation#3149

X-original-commit: 359ab4d028
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-08 13:55:59 +01:00