The following custom checkers were never run by the
`ci/documentation_guidelines` build and had to be run locally with
`make review`:
- `check_image_size`: Check that images are not larger than the maximum
file size allowed for their extension.
- `check_image_color_depth`: Check that PNG images are compressed to
8-bit color depth with PNGQuant.
- `check_resource_file_name`: Check that resource file names use hyphens
rather than underscores.
Since reviewers systematically perform these checks manually, it makes
sense to include them in the standard test suite. Should a check raise
a false positive (e.g., an `example_db.zip` resource file is added and
hyphens should not be used), the red CI can be safely ignored as it is
not required for merging.
closesodoo/documentation#14650
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
The coding guidelines establish that we have to write class
declaration for both Python and JavaScript in camel case but
it's actually in Pascal case. It also establishing that model
variable (ex: `Partner = self.env['res.partner]'`) has to be
in camel case but it's actually following the Pascal case.
Pascal case has to start all variables with a capital letter
where camel case is starting with a lower case letter.
Source: https://builtin.com/articles/pascal-case-vs-camel-case
no task id
closesodoo/documentation#14679
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
As per usual, leave off developer.pot and contributing.pot since we
don't translate them (not useful, can't really contribute to/dev in
Odoo without knowing English)
closesodoo/documentation#14703
Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
Since some questions have appeared a couple of times,
let's add a warning in the documentation.
task-none
closesodoo/documentation#14573
Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
Relating to a ticket received recently.
Client was concerned about seeing multiple printers in CUPS
interface and in Odoo IoT app.
Turns out it's standard CUPS behaviour.
This commit updates the troubleshooting page to reflect this
information.
opw-3940166
closesodoo/documentation#10096
Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com>
As per usual, leave off developer.pot and contributing.pot since we
don't translate them (not useful, can't really contribute to/dev in
Odoo without knowing English)
closesodoo/documentation#14333
Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>