[FIX] *: enforce 1 newline on files end

Part-of: odoo/documentation#2983
This commit is contained in:
Victor Feyens
2022-11-18 10:05:45 +00:00
parent 2785e845df
commit 968ed0a17a
220 changed files with 188 additions and 238 deletions
+1 -1
View File
@@ -514,4 +514,4 @@ A python implementation of the full flow can be found :download:`here <extract_a
.. |STATUS_CODE| replace:: The code indicating the status of the request. ``status_code`` is 0 in case of success. Other ``status_code`` are detailed in the table below.
.. |STATUS_MSG| replace:: A string giving verbose details about the request status.
.. |STATUS_MSG| replace:: A string giving verbose details about the request status.
@@ -98,4 +98,4 @@ response = jsonrpc("/iap/invoice_extract/validate", params)
if response['result']['status_code'] == SUCCESS:
print("/validate call status: Success")
else:
print("/validate call status: wrong format")
print("/validate call status: wrong format")
@@ -366,4 +366,4 @@ The *select* and *from* methods remain the same.
`Here is an example <https://github.com/odoo/odoo/blob/14.0/addons/account/report/account_invoice_report.py>`__
of a report that depends on the currently selected companies (in a multi-company environment) context to
determine the currency exchange rates to use for accurately displaying amounts when the selected companies
have different currencies.
have different currencies.
@@ -367,4 +367,3 @@ manifest counterparts.
`sequence` (default= `16`)
Loading order of the asset records (ascending). A sequence lower than 16 means
that the asset will be processed *before* the ones declared in the manifest.
@@ -646,4 +646,4 @@ bundle `web.assets_tests` in the page. This bundle contains mostly test tours
users). The `tests` mode is then useful to be able to run these tours.
.. seealso::
- `Owl Repository <https://github.com/odoo/owl>`_
- `Owl Repository <https://github.com/odoo/owl>`_
@@ -2,4 +2,4 @@
Odoo UI Icons
=============
.. image:: icons_library/odoo-ui-icons.png
.. image:: icons_library/odoo-ui-icons.png
@@ -389,4 +389,4 @@ wait for the promise to complete before registering the module.
// some code here
return something;
});
});
});
@@ -193,4 +193,4 @@ The `patch` function has a counterpart, `unpatch`, also located in `@web/core/ut
patch(object, "patch name", { ... });
// test stuff here
unpatch(object, "patch name");
unpatch(object, "patch name");
@@ -29,4 +29,4 @@ Report
.. autofield:: filter_hierarchy
.. autofield:: filter_account_type
.. autofield:: filter_partner
.. autofield:: filter_fiscal_position
.. autofield:: filter_fiscal_position