
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.
140 lines
6.9 KiB
HTML
140 lines
6.9 KiB
HTML
<article id="o_content" class="doc-body o_legal">
|
||
<section id="legal">
|
||
<h1>
|
||
{{ _("Legal") }}
|
||
<a class="headerlink" href="#legal" title="Permalink to this headline">¶</a>
|
||
</h1>
|
||
</section>
|
||
<section id="licenses">
|
||
<h2>
|
||
{{ _("Licenses") }}
|
||
<a class="headerlink" href="#licenses" title="Permalink to this headline">¶</a>
|
||
</h2>
|
||
<ul class="simple">
|
||
<li>
|
||
<p>
|
||
<a class="reference internal" href="legal/licenses.html#licenses">
|
||
<span class="std std-ref">{{ _("Licenses") }}</span>
|
||
</a>
|
||
</p>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section id="terms-and-conditions">
|
||
<h2>
|
||
{{ _("Terms and Conditions") }}
|
||
<a class="headerlink" href="#terms-and-conditions" title="Permalink to this headline">¶</a>
|
||
</h2>
|
||
<div class="row flex-wrap g-3 mb-3">
|
||
<div class="col-sm-4">
|
||
<div class="card h-100">
|
||
<div class="card-body d-flex flex-column justify-content-between">
|
||
<div class="d-flex align-items-center mb-2">
|
||
<i class="i-article"></i>
|
||
<h5 class="card-title mb-0 d-flex flex-wrap gap-2">{{ _("Odoo Enterprise Agreement") }}</h5>
|
||
</div>
|
||
<p>{{ _("Applies to self-hosting, Odoo.SH and Odoo Cloud.") }}</p>
|
||
<div>
|
||
{%- set enterprise_agreement_path_en = 'legal/terms/enterprise.html' %}
|
||
{%- if language_code not in legal_translations %}
|
||
<a class="btn btn-primary" href="{{ enterprise_agreement_path_en }}" role="button">{{ _("Read") }}</a>
|
||
{%- else %}
|
||
<a class="btn btn-primary" href="{{ 'legal/terms/i18n/enterprise_%s.html' % language_code }}" role="button">{{ _("Read") }}</a>
|
||
<a class="btn btn-light text-primary" href="{{ enterprise_agreement_path_en }}">{{ _("English") }}</a>
|
||
{%- endif %}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-4">
|
||
<div class="card h-100">
|
||
<div class="card-body d-flex flex-column justify-content-between">
|
||
<div class="d-flex align-items-center mb-3">
|
||
<i class="i-article"></i>
|
||
<h5 class="card-title mb-0">{{ _("Odoo Partnership Agreement") }}</h5>
|
||
</div>
|
||
<div>
|
||
{%- set partnership_agreement_path_en = 'legal/terms/partnership.html' %}
|
||
{%- if language_code not in legal_translations %}
|
||
<a class="btn btn-primary" href="{{ partnership_agreement_path_en }}" role="button">{{ _("Read") }}</a>
|
||
{%- else %}
|
||
<a class="btn btn-primary" href="{{ 'legal/terms/i18n/partnership_%s.html' % language_code }}" role="button">{{ _("Read") }}</a>
|
||
<a class="btn btn-light text-primary" href="{{ partnership_agreement_path_en }}">{{ _("English") }}</a>
|
||
{%- endif %}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="col-sm-4">
|
||
<div class="card h-100">
|
||
<div class="card-body d-flex flex-column justify-content-between">
|
||
<div class="d-flex align-items-center mb-3">
|
||
<i class="i-article"></i>
|
||
<h5 class="card-title mb-0">{{ _("Terms Of Sale") }}</h5>
|
||
</div>
|
||
<div>
|
||
{%- set terms_of_sale_agreement_path_en = 'legal/terms/terms_of_sale.html' %}
|
||
{%- if language_code not in legal_translations %}
|
||
<a class="btn btn-primary" href="{{ terms_of_sale_agreement_path_en }}" role="button">{{ _("Read") }}</a>
|
||
{%- else %}
|
||
<a class="btn btn-primary" href="{{ 'legal/terms/i18n/terms_of_sale_%s.html' % language_code }}" role="button">{{ _("Read") }}</a>
|
||
<a class="btn btn-light text-primary" href="{{ terms_of_sale_agreement_path_en }}">{{ _("English") }}</a>
|
||
{%- endif %}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="alert alert-go_to">
|
||
<p class="alert-title">
|
||
{{ _("See also") }}
|
||
</p>
|
||
<p>
|
||
<a class="reference external" href="https://drive.google.com/open?id=1skSTsdAPOBlaIWi_hUkL3tfaoi8Qdspu" target="_blank">{{ _("Archive of older agreements") }}</a>
|
||
</p>
|
||
</div>
|
||
</section>
|
||
<section id="other-legal-references">
|
||
<h2>
|
||
{{ _("Other legal references") }}
|
||
<a class="headerlink" href="#other-legal-references" title="Permalink to this headline">¶</a>
|
||
</h2>
|
||
<ul class="simple">
|
||
<li>
|
||
<p>
|
||
<a class="reference external" href="https://www.odoo.com/cloud-sla" target="_blank">{{ _("Odoo Cloud Service Level Agreement (SLA)") }}</a>
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
<a class="reference external" href="https://www.odoo.com/acceptable-use" target="_blank">{{ _("Odoo Cloud Acceptable Use Policy") }}</a>
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
<a class="reference external" href="https://www.odoo.com/privacy" target="_blank">{{ _("Odoo SA’s Privacy Policy") }}</a>
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
<a class="reference external" href="https://www.odoo.com/gdpr" target="_blank">{{ _("Odoo SA’s GDPR Compliance Guide") }}</a>
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
<a class="reference internal" href="legal/cla.html#cla">
|
||
<span class="std std-ref">{{ _("Contributor License Agreement") }}</span>
|
||
</a>
|
||
</p>
|
||
</li>
|
||
<li>
|
||
<p>
|
||
<a class="reference internal" href="applications/finance/accounting/fiscal_localizations/localizations/germany.html#germany-gobd">
|
||
<span class="std std-ref">{{ _("German Tax Accounting Standards: Odoo’s guide to GoBD Compliance") }}</span>
|
||
</a>
|
||
</p>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
</article>
|