Commit Graph

5 Commits

Author SHA1 Message Date
Victor Feyens
4af7600805 [FIX] *: enforce 1 newline on files end
Part-of: odoo/documentation#2978
2022-11-18 17:33:13 +01:00
Tom Aarab (toaa)
d78eefdd01 [IMP] accounting: stripe page update
Ambiguous note which implied local payment methods were supported even if not listed.

Forward up to V14, create new for V15.

task id: 2942093

closes odoo/documentation#2640

X-original-commit: 4b9517ead1
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
2022-08-26 17:40:05 +02:00
Antoine Vandevenne (anv)
165ebaa804 [IMP] stripe: clarify the conditions for the support of a payment method
Even though the documentation was correct, it was confusing the reader
to state that local payment methods are considered enabled if their
related payment icon record does not exist in the database. The intended
meaning was that this statement only holds if the local payment method
is also supported, otherwise it cannot be enabled.

closes odoo/documentation#2587

X-original-commit: 80a9cfb68f
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-08-17 16:14:23 +02:00
Antoine Vandevenne (anv)
91c20a2c03 [MOV] content/*: move resource files into their related page's directory
Since odoo/documentation#903, the guideline for the location of new
resource (images, downloadable files, RST includes...) files is to place
those inside the directory of the RST page that references them.

For example, if `doc1.rst` has a reference to `image.png` and to
`download.zip`, the file structure should look like this:

├── parent_doc/
│     └── doc1/
│     │     └── image.png
│     │     └── download.zip
│     └── doc1.rst
│     └── doc2.rst
├── parent_doc.rst

Before this commit, most of the resource files were still located inside
'media' directories holding all the resource files referenced by RST
pages located at the same level as these directories. In the example
above, a single 'media' directory would hold all the resource files
referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from
figuring out easily which resource file was referenced by which RST page
and, thus, lead to unused resource files piling up in the repository. It
also made it more complicated to define codeowners regex rules because a
team could not simply be assigned to `/some_page.*` but needed to be
assigned to both `/some_page\.rst` and to the location of 'media'.

In order to help new content writers figure out the guideline when
taking examples from other RST pages, this commit retroactively applies
the guideline to existing resource files and 'media' directories. The
left-over resource files that are not referenced by any RST page are
removed.

task-2497965

Part-of: odoo/documentation#2026
2022-05-20 14:03:47 +02:00
Jonathan Castillo (jcs)
fd25322fda [MOV] payment acquirers: from /general/ (misc. section) to /finance/
The "Payment Acquirers" category was moved to the /general/ folder
(Miscellaneous section) when the super-categories such as "Finance"
didn't exist yet. Now, it makes more sense to move this category to
"Finance".

task-id 2743227

closes odoo/documentation#1497

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-01-27 16:47:10 +00:00