update edit repository

This commit is contained in:
hoangvv 2025-02-28 16:04:04 +07:00
parent 680f763c50
commit 4be6903e8f
10 changed files with 209 additions and 81 deletions

View File

@ -47,8 +47,8 @@ language = None
# The suffix of source filenames. # The suffix of source filenames.
source_suffix = { source_suffix = {
".rst": "restructuredtext",
".md": "markdown", ".md": "markdown",
".rst": "restructuredtext",
} }
# The master toctree document. # The master toctree document.
@ -248,7 +248,7 @@ intersphinx_mapping = {
"werkzeug": ("https://werkzeug.palletsprojects.com/en/2.3.x/", None), "werkzeug": ("https://werkzeug.palletsprojects.com/en/2.3.x/", None),
} }
github_user = "odoo" github_user = "NextERP"
github_project = "documentation" github_project = "documentation"
locale_dirs = ["../locale/"] locale_dirs = ["../locale/"]

View File

@ -14,46 +14,54 @@ accounts, smart matching suggestions, etc.
:::{seealso} :::{seealso}
[Odoo Tutorials: Accounting](https://www.odoo.com/slides/accounting-19) [Odoo Tutorials: Accounting](https://www.odoo.com/slides/accounting-19)
::: :::
::::{grid} 3
:gutter: 2
```{eval-rst} :::{grid-item-card} Get started
.. cards:: :link: accounting/get_started.html
.. card:: Get started Basic concepts of accounting and initial setup of your accounting
:target: accounting/get_started :::
:large: :::{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 Customer invoices, payment terms, and electronic invoicing
:target: accounting/taxes :::
::::
Taxes, fiscal positions, and integrations ::::{grid} 3
:gutter: 2 2 2 2
.. card:: Customer invoices :::{grid-item-card} Vendor bills
:target: accounting/customer_invoices :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 Bank synchronization, reconciliation, and cash registers
:target: accounting/vendor_bills :::
:::{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 ## Double-entry bookkeeping
@ -69,7 +77,7 @@ always balance.
{doc}`Accounting Cheat Sheet <accounting/get_started/cheat_sheet>` {doc}`Accounting Cheat Sheet <accounting/get_started/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 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 expense either when the transaction occurs (accrual basis) or when the payment is made or received

View File

@ -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) - [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) - [IoT system FAQ](https://www.odoo.com/app/iot-faq)
::: :::
::::{grid} 2
:gutter: 2
```{eval-rst} :::{grid-item-card} IoT box
.. cards:: :link: iot/iot_box.html
.. card:: IoT box Set up Windows virtual IoT.
:target: iot/iot_box :::
:large: :::{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 :::{grid-item-card} Devices
:target: iot/windows_iot :link: iot/devices.html
:large: :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 Verify your IoT system and database meet the eligibility requirements for HTTPS certificate
: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
generation and address any related issues. 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 Update your IoT system's image, core code, and handlers to benefit from the latest IoT fixes
:target: iot/iot_advanced/updating_iot
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. 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} ```{toctree}
:titlesonly: true :titlesonly: true

View File

@ -24,26 +24,29 @@ underlying infrastructure.
If you are new to Odoo or web application development, start with the If you are new to Odoo or web application development, start with the
{doc}`developer/tutorials/server_framework_101` tutorial. {doc}`developer/tutorials/server_framework_101` tutorial.
::::{grid} 3
:gutter: 2
```{eval-rst} :::{grid-item-card} Tutorials
.. cards:: :link: developer/tutorials.html
:columns: 3
.. card:: Tutorials Tutorials take you by the hand through hands-on exercises to build skills and familiarity in
:target: developer/tutorials
Tutorials take you by the hand through hands-on exercises to build skills and familiarity in
Odoo development. Odoo development.
:::
:::{grid-item-card} How-to guides
:link: developer/howtos.html
:columns: 3
.. card:: How-to guides Recipes that provide a step-by-step guide for addressing real-world problems and use-cases.
:target: developer/howtos :::
:::{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. Technical descriptions and factual information on the frameworks and APIs of Odoo.
:::
.. card:: Reference ::::
:target: developer/reference
Technical descriptions and factual information on the frameworks and APIs of Odoo.
```
:::{seealso} :::{seealso}
- {doc}`Guide: Contribute to the codebase </contributing/development>` - {doc}`Guide: Contribute to the codebase </contributing/development>`

View File

@ -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}" urlpath = f"/{app.config.github_user}/{project}/{mode}/{branch}/{path}"
return werkzeug.urls.url_unparse(( return werkzeug.urls.url_unparse((
'https', 'https',
'github.com', 'git.nextzenos.com',
urlpath, urlpath,
'', '',
'' if line is None else 'L%d' % line '' 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 # may be useful in the future
source_suffix = app.config.source_suffix source_suffix = app.config.source_suffix
source_suffix = next(iter(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) app, project=app.config.github_project, path=f'content/{pagename}{source_suffix}', mode=mode)

View File

@ -116,9 +116,9 @@
{%- block body %} {%- endblock %} {%- block body %} {%- endblock %}
</div> </div>
{%- if github_link and pagename != 'search' and not pagename.startswith('legal') %} {%- if github_link and pagename != 'search' and not pagename.startswith('legal') %}
<a href="{{ github_link(mode='edit') }}" <a href="{{ github_link(mode='_edit') }}"
class="o_git_link d-none d-lg-inline-block"> class="o_git_link d-none d-lg-inline-block">
<i class="i-edit"></i> Edit on GitHub <i class="i-edit"></i> Edit on Repository
</a> </a>
{%- endif %} {%- endif %}
</article> </article>

View File

@ -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
:::
::::

View File

@ -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
:::
::::

View File

@ -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
:::
::::

View File

@ -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
:::
::::