diff --git a/conf.py b/conf.py index 734a49f47..dcaa3756c 100644 --- a/conf.py +++ b/conf.py @@ -47,8 +47,8 @@ language = None # The suffix of source filenames. source_suffix = { - ".rst": "restructuredtext", ".md": "markdown", + ".rst": "restructuredtext", } # The master toctree document. @@ -248,7 +248,7 @@ intersphinx_mapping = { "werkzeug": ("https://werkzeug.palletsprojects.com/en/2.3.x/", None), } -github_user = "odoo" +github_user = "NextERP" github_project = "documentation" locale_dirs = ["../locale/"] diff --git a/content/applications/finance/accounting.md b/content/applications/finance/accounting.md index 375b5c793..7329b7622 100644 --- a/content/applications/finance/accounting.md +++ b/content/applications/finance/accounting.md @@ -14,46 +14,54 @@ accounts, smart matching suggestions, etc. :::{seealso} [Odoo Tutorials: Accounting](https://www.odoo.com/slides/accounting-19) ::: +::::{grid} 3 +:gutter: 2 -```{eval-rst} -.. cards:: +:::{grid-item-card} Get started +:link: accounting/get_started.html - .. card:: Get started - :target: accounting/get_started - :large: +Basic concepts of accounting and initial setup of your accounting +::: +:::{grid-item-card} Taxes +:link: accounting/taxes.html - Basic concepts of accounting and initial setup of your accounting +Taxes, fiscal positions, and integrations +::: +:::{grid-item-card} Customer invoices +:link: accounting/customer_invoices.html - .. card:: Taxes - :target: accounting/taxes +Customer invoices, payment terms, and electronic invoicing +::: +:::: - Taxes, fiscal positions, and integrations +::::{grid} 3 +:gutter: 2 2 2 2 - .. card:: Customer invoices - :target: accounting/customer_invoices +:::{grid-item-card} Vendor bills +:columns: 3 +:link: accounting/vendor_bills.html - Customer invoices, payment terms, and electronic invoicing +Vendor bills, assets, and invoice digitization (OCR) +::: +:::{grid-item-card} Payments +:columns: 3 +:link: accounting/payments.html +Invoices and bills payments (online, checks, batches) and follow-up on invoices +::: +:::{grid-item-card} Bank and cash accounts +:columns: 3 +:link: accounting/bank.html - .. card:: Vendor bills - :target: accounting/vendor_bills +Bank synchronization, reconciliation, and cash registers +::: +:::{grid-item-card} Reporting +:columns: 3 +:link: accounting/reporting.html - Vendor bills, assets, and invoice digitization (OCR) +Reporting, declarations, and analytic accounting +::: +:::: - .. card:: Payments - :target: accounting/payments - - Invoices and bills payments (online, checks, batches) and follow-up on invoices - - .. card:: Bank and cash accounts - :target: accounting/bank - - Bank synchronization, reconciliation, and cash registers - - .. card:: Reporting - :target: accounting/reporting - - Reporting, declarations, and analytic accounting -``` ## Double-entry bookkeeping @@ -69,7 +77,7 @@ always balance. {doc}`Accounting Cheat Sheet ` ::: -## Accrual and cash basis +## Actual and cash basis Both accrual and cash basis accounting are supported in Odoo. This allows reporting income and expense either when the transaction occurs (accrual basis) or when the payment is made or received diff --git a/content/applications/general/iot.md b/content/applications/general/iot.md index 403a890db..bba960ca1 100644 --- a/content/applications/general/iot.md +++ b/content/applications/general/iot.md @@ -41,44 +41,52 @@ information on the portal's subscription page. - [Odoo Tutorials: Internet of Things (IoT) Tutorials](https://www.odoo.com/slides/internet-of-things-iot-175) - [IoT system FAQ](https://www.odoo.com/app/iot-faq) ::: +::::{grid} 2 +:gutter: 2 -```{eval-rst} -.. cards:: +:::{grid-item-card} IoT box +:link: iot/iot_box.html - .. card:: IoT box - :target: iot/iot_box - :large: +Set up Windows virtual IoT. +::: +:::{grid-item-card} Windows virtual IoT +:link: iot/windows_iot.html +Set up Windows virtual IoT. +::: +:::: - Set up an IoT box. +::::{grid} 4 +:gutter: 2 2 2 2 - .. card:: Windows virtual IoT - :target: iot/windows_iot - :large: +:::{grid-item-card} Devices +:link: iot/devices.html +:columns: 3 - Set up Windows virtual IoT. +Connect devices such as printers, screens, measurement tools, etc., to the IoT system. +::: +:::{grid-item-card} HTTPS certificate +:link: iot/iot_advanced/https_certificate_iot.html +:columns: 3 - .. card:: IoT system connection to Odoo - :target: iot/connect - - Connect the IoT system to your Odoo database and troubleshoot potential connection issues. - - .. card:: Devices - :target: iot/devices - - Connect devices such as printers, screens, measurement tools, etc., to the IoT system. - - .. card:: HTTPS certificate - :target: iot/iot_advanced/https_certificate_iot - - Verify your IoT system and database meet the eligibility requirements for HTTPS certificate +Verify your IoT system and database meet the eligibility requirements for HTTPS certificate generation and address any related issues. +::: +:::{grid-item-card} IoT system updates +:link: iot/iot_advanced/updating_iot.html +:columns: 3 - .. card:: IoT system updates - :target: iot/iot_advanced/updating_iot - - Update your IoT system's image, core code, and handlers to benefit from the latest IoT fixes +Update your IoT system's image, core code, and handlers to benefit from the latest IoT fixes and features or reset the IoT system if needed. -``` +::: +:::{grid-item-card} IoT system connection to Odoo +:link: iot/connect.html +:columns: 3 + +Connect the IoT system to your Odoo database and troubleshoot potential connection issues. +::: + +:::: + ```{toctree} :titlesonly: true diff --git a/content/developer.md b/content/developer.md index e0eb4299f..2990ce910 100644 --- a/content/developer.md +++ b/content/developer.md @@ -24,26 +24,29 @@ underlying infrastructure. If you are new to Odoo or web application development, start with the {doc}`developer/tutorials/server_framework_101` tutorial. +::::{grid} 3 +:gutter: 2 -```{eval-rst} -.. cards:: +:::{grid-item-card} Tutorials +:link: developer/tutorials.html +:columns: 3 - .. card:: Tutorials - :target: developer/tutorials - - Tutorials take you by the hand through hands-on exercises to build skills and familiarity in +Tutorials take you by the hand through hands-on exercises to build skills and familiarity in Odoo development. +::: +:::{grid-item-card} How-to guides +:link: developer/howtos.html +:columns: 3 - .. card:: How-to guides - :target: developer/howtos +Recipes that provide a step-by-step guide for addressing real-world problems and use-cases. +::: +:::{grid-item-card} Reference +:columns: 3 +:link: developer/reference.html - Recipes that provide a step-by-step guide for addressing real-world problems and use-cases. - - .. card:: Reference - :target: developer/reference - - Technical descriptions and factual information on the frameworks and APIs of Odoo. -``` +Technical descriptions and factual information on the frameworks and APIs of Odoo. +::: +:::: :::{seealso} - {doc}`Guide: Contribute to the codebase ` diff --git a/extensions/github_link/__init__.py b/extensions/github_link/__init__.py index 3993d538b..98bb717d5 100644 --- a/extensions/github_link/__init__.py +++ b/extensions/github_link/__init__.py @@ -95,7 +95,7 @@ def make_github_link(app, project, path, line=None, mode="blob"): urlpath = f"/{app.config.github_user}/{project}/{mode}/{branch}/{path}" return werkzeug.urls.url_unparse(( 'https', - 'github.com', + 'git.nextzenos.com', urlpath, '', '' if line is None else 'L%d' % line @@ -112,5 +112,5 @@ def add_doc_link(app, pagename, templatename, context, doctree): # may be useful in the future source_suffix = app.config.source_suffix source_suffix = next(iter(source_suffix)) - context['github_link'] = lambda mode='edit': make_github_link( + context['github_link'] = lambda mode='_edit': make_github_link( app, project=app.config.github_project, path=f'content/{pagename}{source_suffix}', mode=mode) diff --git a/extensions/odoo_theme/layout.html b/extensions/odoo_theme/layout.html index 62323299d..031c6b0ea 100644 --- a/extensions/odoo_theme/layout.html +++ b/extensions/odoo_theme/layout.html @@ -116,9 +116,9 @@ {%- block body %} {%- endblock %} {%- if github_link and pagename != 'search' and not pagename.startswith('legal') %} - - Edit on GitHub + Edit on Repository {%- endif %} diff --git a/template/grids/grid-2-3.template b/template/grids/grid-2-3.template new file mode 100644 index 000000000..53d3aea12 --- /dev/null +++ b/template/grids/grid-2-3.template @@ -0,0 +1,28 @@ +::::{grid} 2 +:gutter: 2 + +:::{grid-item-card} +A + +::: +:::{grid-item-card} +B +::: +:::: + +::::{grid} 3 +:gutter: 2 2 2 2 + +:::{grid-item-card} +:columns: 6 +C +::: +:::{grid-item-card} D + +:columns: 3 +::: +:::{grid-item-card} E +:link: website/mail_groups.html +:columns: 3 +::: +:::: \ No newline at end of file diff --git a/template/grids/grid-2-4.template b/template/grids/grid-2-4.template new file mode 100644 index 000000000..0b5265559 --- /dev/null +++ b/template/grids/grid-2-4.template @@ -0,0 +1,32 @@ +::::{grid} 2 +:gutter: 2 + +:::{grid-item-card} +A + +::: +:::{grid-item-card} +B +::: +:::: + +::::{grid} 4 +:gutter: 2 + +:::{grid-item-card} +:columns: 3 +C +::: +:::{grid-item-card} D + +:columns: 3 +::: +:::{grid-item-card} E +:link: website/mail_groups.html +:columns: 3 +::: +:::{grid-item-card} G +:link: website/mail_groups.html +:columns: 3 +::: +:::: \ No newline at end of file diff --git a/template/grids/grid-3.template b/template/grids/grid-3.template new file mode 100644 index 000000000..e76734fc5 --- /dev/null +++ b/template/grids/grid-3.template @@ -0,0 +1,16 @@ +::::{grid} 2 +:gutter: 2 + +:::{grid-item-card} +:columns: 3 +A +::: +:::{grid-item-card} +:columns: 3 +B +::: +:::{grid-item-card} +:columns: 3 +C +::: +:::: \ No newline at end of file diff --git a/template/grids/grind-3-4.template b/template/grids/grind-3-4.template new file mode 100644 index 000000000..e574e32e0 --- /dev/null +++ b/template/grids/grind-3-4.template @@ -0,0 +1,33 @@ +::::{grid} 3 +:gutter: 2 + +:::{grid-item-card} +A + +::: +:::{grid-item-card} +B +::: +:::{grid-item-card} +C +::: +:::: + +::::{grid} 3 +:gutter: 2 2 2 2 + +:::{grid-item-card} +:columns: 3 +C +::: +:::{grid-item-card} +:columns: 3 +D +::: +:::{grid-item-card} E +:columns: 3 +::: +:::{grid-item-card} G +:columns: 3 +::: +:::: \ No newline at end of file