I removed the dot notation in the "_name" variable for the example
model. AKA, "test.model" is now named "test_model".
Dot notation implies a data structure relationship between a <model> and
it's parent (or class etc) <test> (like test.model() or Test.model).
There is no relationship like this between a <test> and <model> - it's
just one thing: a <test model>.
The seeming "benefit" of the ORM translating dots to underscores doesn't
justify this naming convention. Yes, I know it's a string, but still,
this seems confusing for newbies and adds unnecessary complexity (why
name the same thing differently in different places?)
closesodoo/documentation#5131
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
task-2382237
Updating the main section in a separate PR as the original PR is stuck due
to uncertainties regarding the Import section.
closesodoo/documentation#4999
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
In chapter 13 the `property_ids` field is defined as the inverse of a
`user_id` field. But in chapter 8 when the salesperson field is added,
no such name is given to it.
This commit adapts the description to reference the general concept of
the field used to link to the salesperson instead of an actual field
identifier.
task-3381757
closesodoo/documentation#4898
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
The attributes of fields of list views do not mention the `optional`
attribute while it is used by chapter 12 of the R&D Training.
This commit describes this `optional` attribute.
task-3380953
closesodoo/documentation#4823
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
The deploy documentation is assuming that `/etc/odoo.conf` is the
default config file, which is not the case.
With this commit, the configuration file references the cli
documentation.
closesodoo/documentation#4785
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
* Update the title as `Upgrade Community to Enterprise` is confusing.
* Update 9.0 screenshots to more recent ones
* As the windows installer uses a real python interpreter, the install
command is updated accordingly.
Part-of: odoo/documentation#4785
Apply the fix of e6aa5dd0 to `terms_of_sale.rst` and
`terms_of_sale_fr.rst` that were forgotten.
closesodoo/documentation#4783
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Update the link for Smarter Web to the appropriate landing page for
Odoo.
closesodoo/documentation#4673
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
"September" didn't fit in the current table, so this commit also
replaces the previous implementation of the table by a `list-table`
directive... The real reason is that it was long due to ease future
updates of the table.
closesodoo/documentation#4620
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit replaces a big chunk of the instructions relative to the
environment setup with a reference to the equivalent steps listed in the
contribution guide. It also moves the content of the "Create your first
PR" section from chapter 16 to chapter 2, as readers were struggling
with the Git configuration required to push their work to GitHub as they
progressed through the tutorial.
closesodoo/documentation#4380
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Currently, there are two pages about onsite interventions in two
separate categories. This task aims to merge both pages into a single
one and remove the useless categories.
task-3275322
closesodoo/documentation#4169
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
Also include details/troubleshoot/solutions for redundant
support issues:
- Error code details for HTTPS certificate generation
(see: https://github.com/odoo/odoo/pull/114993 )
- DNS issue with HTTPS domain
OPW-3227004
closesodoo/documentation#3818
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
In Mexico there are two 0% taxes, 0% VAT and 0% exempt VAT. This change
makes the tip clearer so users do not confuse both taxes. Forward to
master.
closesodoo/documentation#2515
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
To improve the structure of the documentation, the "Miscellaneous"
section should be limited as much as possible.
This commit:
- renames "Calendars" into "Calendar" (as the app name)
- moves the app from the "Miscellaneous" section to the "Productivity"
section
- fixes the wrong file structure to follow the toc
(e.g. general/calendars/outlook/outlook_calendar -> productivity/calendar/outlook)
task-3217827
closesodoo/documentation#4032
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
The whole concept of multi-tenancy is not really approached within the
tutorial.
This commit adds a warning about never using mutable global variables
within odoo to seed the idea in the reader's mind.
task-3059110
closesodoo/documentation#3970
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Add images and manual valuation
add ref tag and retitle doc to sentence case
Remove trailing whitespaces
update explanation
closesodoo/documentation#3948
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
Adding requirements for users to use Adyen. Forward to master.
closesodoo/documentation#3919
Taskid: 3159712
Signed-off-by: Aarab Tom (toaa) <toaa@odoo.com>
SSL/HTTPS topic is complicated for most of
Odoo customers as it is quite technical.
This PR should help them guide them to better
understand the issue and how to fix it themselves.
Support can't be provided to each device, browsers and OS.
But we did add some guides regarding the more
"popular" ones and some "keyword" to search
online for the others.
closesodoo/documentation#3223
Signed-off-by: Platteau Xavier (xpl) <xpl@odoo.com>
Co-authored-by: Loredana Perazzo <lrpz@odoo.com>
A few python code blocks on the coding guidelines are indented twice
(8 spaces instead of 4), which is not correct.
closesodoo/documentation#3898
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
1) PDF files are generated and stored at the root of the CURRENT_BRANCH
directory. The links to those files are generated at different levels of
the doctree, which makes it impossible to use a relative path.
For example the same "Enterprise Agreement" doc in EN is published on:
- /16.0/legal/terms/enterprise.html
- /16.0/fr/legal/terms/enterprise.html
As a workaround, use absolute links for the PDFs. They won't work
locally for now. Can be improved later, as long as we don't break
those links located in various depths of the troctree.
2) The legal constracts aren't translated in all availables languages
(yet), so those links are 404s now. Introduced a conf.py variable
`legal_translations` with the list of languages where translated
contracts are indeed available, and falling back to the EN version
otherwise. Some languages don't have *all* the contracts translated, so
some 404 may remain temporarily.