Commit Graph

3047 Commits

Author SHA1 Message Date
Olivier Dony
d4de89f2e6
[CHG] legal: partnership contract v10 (update SH commission)
Version not bumped for ES translation, since it needs other updates
first
2023-01-09 11:55:23 +01:00
Olivier Dony
43614ec5ef
[FIX] legal: show license for Odoo 16 2023-01-09 11:43:39 +01:00
Odoo Translation Bot
a9ff6c7c39 [I18N] Update translation terms from Transifex 2023-01-08 00:40:36 +01:00
Sam Lieber (sali)
087291adc8 [ADD] maintain: setup mailjet api
closes odoo/documentation#3306

X-original-commit: 197a1cc932
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
2023-01-06 16:55:48 +01:00
Antoine Vandevenne (anv)
800857d67e [FIX] odoo_theme: re-enable redirect fallback logic
closes odoo/documentation#3300

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-06 10:30:02 +01:00
Odoo's Mergebot
ad3228abc0
[MERGE] odoo_theme: SCSS code clean up
In order to reduce the size of our css files:
Some unused or repeated code was found and removed.
Variables have been cleaned up, the way the admonitions (alerts) were created has been modified,

Expanding the use of BS variables in order to reduce repeated code and to stay consistent in the general design.
Sphinx was updated which made some changes in the DOM, breaking some of the CSS:
the literals for example, these have been fixed in this PR.
The font sizes were breaking the typescale, this has been fixed by modifying the typescale
rather than hardcoding font sizes.

closes odoo/documentation#3293

Forward-port-of: odoo/documentation#3290
Forward-port-of: odoo/documentation#3225
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-05 10:06:24 +01:00
Elisabeth Dickinson
33a6cca3bf [IMP][CSS] Replace text-decoration on link with BS override 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
9392d28758 [IMP][CSS] Reorder styles according to styles guidelines 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
b0decaa8c4 [IMP] fix typo 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
3c344bcb77 [IMP] icon fixes 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
87ab86bac4 [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-05 09:48:42 +01:00
Elisabeth Dickinson
0831592eba [IMP][CSS] Remove browser prefixes and unnecessary mixins 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
b503fdc6f4 [IMP][CSS] Fix literals in alerts containing tabs 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
f3573dbfae [IMP][CSS] Fix data indentation 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
1f95fc014b [IMP][CSS] Fix alignment on modal btn-close 2023-01-05 09:48:42 +01:00
Elisabeth Dickinson
41f0464dce [IMP] Indentation fix 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
0f5110785f [REM] Removal of changelog
The idea was not developed and it has since been decided not to do it.
2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
b108feec5d [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-05 09:48:41 +01:00
Elisabeth Dickinson
9b7ec0fa11 [IMP][CSS] Fix color variable issue 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
d01888d0be [IMP][CSS] Revamp of the .o_spoiler element to use same code as alerts 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
1638484a82 [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-05 09:48:41 +01:00
Elisabeth Dickinson
3d73e4c5b4 [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-05 09:48:41 +01:00
Elisabeth Dickinson
4f0713af54 [IMP][CSS] Place overrides in bootstrap_overridden file 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
637ea4b337 [IMP][CSS] Clean up the file according to conventions
Includes reordering styles, renaming variables ($o-*),
re-indenting lines, removing commented code
2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
8ab91d242b [IMP][CSS] Set gray background to it's original darker color 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
4d3442cca4 [IMP][CSS] Improve literals styling (o_code, .sig-*) 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
179e5c6ccd [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-05 09:48:41 +01:00
Elisabeth Dickinson
1806ace2ef [IMP][CSS] Remove repetitive or unnused CSS 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
bceba8c55d [IMP][CSS] Improve margins on headings and sections 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
e36bd9b924 [IMP][CSS] Replace margin and padding values with variables 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
8febda41af [IMP][CSS] Revamp modal to use all BS classes and variables 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
3146d394c4 [IMP][CSS] Rescale heading fonts 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
559d542a0d [IMP][CSS] Cleanup font variables 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
ff2b57a127 [IMP][CSS] Cleanup admonitions (alerts) 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
6e36a01099 [IMP][CSS] Cleanup color variables 2023-01-05 09:48:41 +01:00
Elisabeth Dickinson
e342ffb989 [IMP][CSS] update literals styles (.o_code, .sig-*) 2023-01-05 09:48:41 +01:00
Antoine Vandevenne (anv)
7b0b941b97 [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-05 09:48:41 +01:00
Mahmoud Metwally
9705552a6b Update qweb.rst
closes odoo/documentation#3288

X-original-commit: 8cde1f7b74
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-04 15:10:00 +01:00
Sam Lieber (sali)
1b701dc6f3 [FIX] maintain: correct cname definition
closes odoo/documentation#3280

X-original-commit: 96cbb2375b
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-03 23:43:05 +01:00
Jason (jaae)
b00c3c8246 [IMP] project: adding description to app page
closes odoo/documentation#3273

X-original-commit: cfaf4386c2
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-03 21:00:21 +01:00
Mahmoud Metwally
9c9c20110c [FIX] rdtraining: fix writing errors
closes odoo/documentation#3266

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 19:07:18 +01:00
Antoine Vandevenne (anv)
b16202dcde [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#3263

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 19:07:05 +01:00
Antoine Vandevenne (anv)
da19dab578 [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#3263
2023-01-03 19:07:05 +01:00
Antoine Vandevenne (anv)
0d0e4ac4df [IMP] README: remove version from links and rephrase explanations
task-2897123

closes odoo/documentation#3260

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 13:27:06 +01:00
Antoine Vandevenne (anv)
784fc69d47 [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#3260
2023-01-03 13:27:06 +01:00
Antoine Vandevenne (anv)
8d94f66d81 [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#3260
2023-01-03 13:27:05 +01:00
LoredanaLrpz
4b258e1401 [IMP] pos: update tip info, remove and update screenshots
closes odoo/documentation#3059

Taskid: 3005150
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-02 17:08:04 +01:00
Martin Trigaux
293e749298 [I18N] general: update source terms 2023-01-02 10:05:04 +01:00
Odoo Translation Bot
cf03645815 [I18N] Update translation terms from Transifex 2023-01-01 00:40:39 +01:00
Michelle Vu (mivu)
883814c50e [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#3233

X-original-commit: 5979a772e6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Michelle (mivu) <mivu@odoo.com>
2022-12-27 22:12:37 +01:00