Commit Graph

3020 Commits

Author SHA1 Message Date
Elisabeth Dickinson
530774b60b [IMP][CSS] Fix literals in alerts containing tabs 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
ba0c7f42ba [IMP][CSS] Fix data indentation 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
b65f74055f [IMP][CSS] Fix alignment on modal btn-close 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
93e7ee9673 [IMP] Indentation fix 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
8d6d1a7b3c [REM] Removal of changelog
The idea was not developed and it has since been decided not to do it.
2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
21b1bf81b9 [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 12:53:11 +01:00
Elisabeth Dickinson
f2c8501d8f [IMP][CSS] Fix color variable issue 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
699fdc0ceb [IMP][CSS] Revamp of the .o_spoiler element to use same code as alerts 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
61e5bf08b5 [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 12:53:11 +01:00
Elisabeth Dickinson
6dbff460fb [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 12:53:11 +01:00
Elisabeth Dickinson
60ad2bdb7d [IMP][CSS] Place overrides in bootstrap_overridden file 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
35aaad62c9 [IMP][CSS] Clean up the file according to conventions
Includes reordering styles, renaming variables ($o-*),
re-indenting lines, removing commented code
2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
9cd2ec28f7 [IMP][CSS] Set gray background to it's original darker color 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
bed5b9edb7 [IMP][CSS] Improve literals styling (o_code, .sig-*) 2023-01-05 12:53:11 +01:00
Elisabeth Dickinson
5c931f7ec8 [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 12:53:10 +01:00
Elisabeth Dickinson
b85a92be63 [IMP][CSS] Remove repetitive or unnused CSS 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
e4afa7c177 [IMP][CSS] Improve margins on headings and sections 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
a9d1450111 [IMP][CSS] Replace margin and padding values with variables 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
001fe6bd1e [IMP][CSS] Revamp modal to use all BS classes and variables 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
33cccf063f [IMP][CSS] Rescale heading fonts 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
4eab217696 [IMP][CSS] Cleanup font variables 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
a85cb3bc92 [IMP][CSS] Cleanup admonitions (alerts) 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
1e0b95df13 [IMP][CSS] Cleanup color variables 2023-01-05 12:53:10 +01:00
Elisabeth Dickinson
778fbc37a6 [IMP][CSS] update literals styles (.o_code, .sig-*) 2023-01-05 12:53:10 +01:00
Antoine Vandevenne (anv)
2ef1219109 [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 12:53:10 +01:00
Mahmoud Metwally
1a95d1cd6f Update qweb.rst
closes odoo/documentation#3289

X-original-commit: 8cde1f7b74
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-04 15:48:18 +01:00
Mahmoud Metwally
14be609d38 [FIX] rdtraining: fix writing errors
closes odoo/documentation#3276

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-04 11:35:54 +01:00
Sam Lieber (sali)
a63621dc7a [FIX] maintain: correct cname definition
closes odoo/documentation#3281

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

X-original-commit: cfaf4386c2
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-03 21:23:00 +01:00
Antoine Vandevenne (anv)
4d51aecd95 [IMP] README: remove version from links and rephrase explanations
task-2897123

closes odoo/documentation#3265

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 20:14:55 +01:00
Antoine Vandevenne (anv)
872bee0033 [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#3265
2023-01-03 20:14:55 +01:00
Antoine Vandevenne (anv)
f778ba89af [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#3265
2023-01-03 20:14:55 +01:00
Julien Castiaux
ca445c86c8 [IMP] core: additionnal country db for geoip
closes odoo/documentation#2151

Task: 2848206
Related: odoo/enterprise#27399
Related: odoo/odoo#91337
Signed-off-by: Julien Castiaux <juc@odoo.com>
Co-authored-by: Lau-Odoo <46811180+Lau-Odoo@users.noreply.github.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2023-01-03 13:15:55 +01:00
LoredanaLrpz
26364227a6 [IMP] pos: update tip info, remove and update screenshots
closes odoo/documentation#3253

Taskid: 3005150
X-original-commit: 4b258e1401
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2023-01-03 09:52:46 +01:00
Michelle Vu (mivu)
49e02a9097 [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#3234

X-original-commit: 5979a772e6
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Michelle (mivu) <mivu@odoo.com>
2022-12-27 19:05:53 +01:00
Antoine Vandevenne (anv)
03573426e1 [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#3239

X-original-commit: f068065d39
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-27 13:18:14 +01:00
Antoine Vandevenne (anv)
520cd5fb9e [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#3239
2022-12-27 13:18:13 +01:00
oco-odoo
a88ce0cb9e [IMP] accounting: full documentation of the new report engine
Engine report for accounting.

closes odoo/documentation#3226

Taskid: 3042880
X-original-commit: bf2d3d9ed2
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2022-12-21 18:38:49 +01:00
Antoine Vandevenne (anv)
88a6ef872a [FIX] legal: fix path to PDF version of legal agreements
closes odoo/documentation#3220

X-original-commit: 3b80d99db7
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-20 11:29:18 +01:00
Sam Lieber (sali)
90d76fabf7 [IMP] general: add notes about dev mode toggle
closes odoo/documentation#3212

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:53:45 +01:00
LoredanaLrpz
f1e601a3a2 [IMP] POS: upgrade the getting started page for 16.0
Task ID: 3090486

closes odoo/documentation#3219

X-original-commit: 4ba98634b8
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Perazzo Loredana (lrpz) <lrpz@odoo.com>
2022-12-19 16:48:53 +01:00
FrancoisGe
e045da51b3 [IMP] web: adds the header to the list view
This commit adds the documentation related to the <header> tag to the list view.

closes odoo/documentation#3044

Related: odoo/odoo#106519
Related: odoo/enterprise#34387
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-16 18:40:01 +01:00
Zachary Straub (ZST)
c619a6fca8 [IMP] email: add mail.default.from_filter
closes odoo/documentation#3211

X-original-commit: df041b1212
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Zachary Straub <zst@odoo.com>
2022-12-15 21:19:02 +01:00
Victor Feyens
992223a284 [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#3204

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 21:18:57 +01:00
fdardenne
90313bc380 [IMP] developer: JavaScript tutorial: enhance chapter 1
This commit adds several small information on chapter 1 of the training
 owl:

- 1.1 How to get to the playground controller
- 1.2 Add a reference on sub component
- 1.4 How to activate the dev mode in owl

closes odoo/documentation#3194

X-original-commit: 1bd7e803e0
Signed-off-by: Dardenne Florent (dafl) <dafl@odoo.com>
2022-12-15 08:37:50 +01:00
LoredanaLrpz
cafdb815e3 [ADD] pos: Stripe payment terminal + link to doc in payment provider
Task ID: 2574495

closes odoo/documentation#3189

X-original-commit: 6b6104f081
Signed-off-by: Perazzo Loredana (lrpz) <lrpz@odoo.com>
2022-12-13 10:05:15 +01:00
Tom Aarab (toaa)
b0ad5ac69e [IMP] odoo.sh: Python libraries and packages
Added a note on packages and extensions support

closes odoo/documentation#3188

Taskid: 2836438
X-original-commit: b1f92ba879
Signed-off-by: Aarab Tom (toaa) <toaa@odoo.com>
2022-12-13 09:01:54 +01:00
Horacio Tellez
eb8184542b [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#3183

X-original-commit: 67a75a3e11
Signed-off-by: Horacio Tellez Perez (hote) <hote@odoo.com>
2022-12-12 09:30:37 +01:00
Valentin Vallaeys (vava)
2ce56e4fb1 [FIX] developer: better definition for oe_inline
closes odoo/documentation#3173

X-original-commit: b2d0ab29a5
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-09 21:01:00 +01:00
Antoine Vandevenne (anv)
b3a1f27461 [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#3170

X-original-commit: fa2d0f6363
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-12-09 13:03:46 +01:00