Author: |
GRAP |
License: |
AGPL-3 |
Branch: |
12.0-database_synchronization-handle-many2many |
Repository: |
legalsylvain/grap-odoo-incubator |
Dependencies: |
queue_job |
Languages: |
PO File (148, 13.8%),
Python (676, 62.8%),
XML (213, 19.8%),
and
reStructuredText (39, 3.6%) |
Other branches: |
12.0-ADD-account_invoice_attachment_count,
12.0-ADD-account_invoice_invoice2data,
12.0-ADD-database_synchronization,
12.0-ADD-light-ci,
12.0-ADD-name_search_reset_res_partner,
12.0-ADD-product_uom_package,
12.0-ADD-stock_inventory_disabled_product,
12.0-ADD-stock_picking_report_summary,
12.0-BACKPORT-l10n_fr_pos_cert_v14,
12.0-BACKPORT-wallet,
12.0-CI-FIX-flake-gitlab-github,
12.0-DOC-mobile_kiosk_modules,
12.0-DOC-various-module,
12.0-FIX-CI-flake8,
12.0-FIX-CI-pre-commit-cache,
12.0-FIX-base_company_legal_info-demo-data,
12.0-FIX-database_synchronization-module-uninstalled-disable-monkey-patch,
12.0-FIX-demo-data-uniq,
12.0-FIX-mobile_kiosk_modules,
12.0-FIX-mobile_kiosk_modules-2,
12.0-FIX-name_search_reset_res_partner-search-by-display-name,
12.0-FIX-product_print_category-warning,
12.0-FIX-product_simple_pricelist-display-pricelist-name-in-action,
12.0-FIX-pylint-reloud,
12.0-FIX-stock_internal_use_of_products-bad-company-sequence,
12.0-FIX-stock_picking_quick_quantity_done-action_confirm-multi,
12.0-FIX-various-fixes-joint-buying,
12.0-FIX-various-fixes-joint-buying-2,
12.0-IMP-database_synchronization-add-queue-job,
12.0-IMP-database_synchronization-some-refactor,
12.0-IMP-database_synchronization-various-improvment,
12.0-IMP-database_synchronization-warning-test-readme,
12.0-IMP-product_default_code_res_company_code-disable-feature-for-global-product,
12.0-IMP-product_print_category-adapt-to-template-coop-it-easy,
12.0-IMP-product_simple_pricelist-recursive-pricelist,
12.0-IMP-stock_internal_use_of_products-add-view-line,
12.0-IMP-stock_inventory_valuation-tree-view-valuation,
12.0-META-CI-reduce-execution,
12.0-REF-CI-FULL,
12.0-REF-MOVE-purchase_package_qty,
12.0-REF-copier-2023-03-09,
12.0-REF-database_synchronization-queue_job-refactoring,
12.0-REF-github-action,
12.0-REF-pin-ubuntu-20-pre-commit-test,
12.0-REF-pre-commit,
12.0-REF-replace-purchase_package_qty-by-product_supplierinfo_qty_multiplier,
12.0-REF-website-in-manifest,
12.0-REM-oca_dependencies,
12.0-REM-product_category_type,
12.0-REM-stock_picking_report_summary,
12.0-TEST-CI-failing,
12.0-database-synchronization-IMP,
12.0-imp-product_print_category-FIX-flake8,
12.0-pos_sector-sector-group-dont-intherit-pos-manager,
12.0-product_print_category-raise-to-print-when-new-category,
12.0-product_simple_pricelist-IMP-ADD-group-to-edit-dates,
12.0-stock_internal_use_of_products-allow-use-case-from-virtual,
and
12.0-test-ci-on-pos_sector |
Other repositories: |
coopiteasy/grap-odoo-incubator,
grap/grap-odoo-incubator,
initOS/grap-odoo-incubator,
and
quentinDupont/grap-odoo-incubator |
<h1 class="title">Database Synchronization</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/tree/12.0/database_synchronization"><img alt="grap/grap-odoo-incubator" src="https://img.shields.io/badge/github-grap%2Fgrap--odoo--incubator-lightgray.png?logo=github" /></a></p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#known-issues-roadmap" id="id1">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="known-issues-roadmap"></a>
<h2><a class="toc-backref" href="#id1">Known issues / Roadmap</a></h2>
<p>When synchronizing module installation for the first time, it
can take a big while. during the installation, cron will be fired, but
due to the inconsistency of the registry, it will fail,
for exemple, once <code>queue_job</code> is installed:</p>
<pre class="code">
<code class="code">Traceback (most recent call last):
File "/src_code/odoo/odoo/addons/base/models/ir_cron.py", line 109, in _callback
self.env['ir.actions.server'].browse(server_action_id).run()
File "/src_code/odoo/odoo/addons/base/models/ir_actions.py", line 538, in run
eval_context = self._get_eval_context(action)
File "/src_code/odoo/addons/mail/models/ir_actions.py", line 150, in _get_eval_context
eval_context = super(ServerActions, self)._get_eval_context(action=action)
File "/src_code/odoo/odoo/addons/base/models/ir_actions.py", line 494, in _get_eval_context
model = self.env[model_name]
File "/src_code/odoo/odoo/api.py", line 831, in __getitem__
return self.registry[model_name]._browse((), self)
File "/src_code/odoo/odoo/modules/registry.py", line 177, in __getitem__
return self.models[model_name]
KeyError: 'queue.job'</code>
</pre>
<p>That is a non blocking errors, and all will be ok, once the installation
of all modules has been done.</p>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/grap/grap-odoo-incubator/issues/new?body=module:%20database_synchronization%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id3">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id4">Authors</a></h3>
<ul class="simple">
<li>GRAP</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id5">Contributors</a></h3>
<ul class="simple">
<li>Sylvain LE GAL (<a class="reference external" href="https://www.twitter.com/legalsylvain">https://www.twitter.com/legalsylvain</a>)</li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id6">Maintainers</a></h3>
<p>This module is part of the <a class="reference external" href="https://github.com/grap/grap-odoo-incubator/tree/12.0/database_synchronization">grap/grap-odoo-incubator</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>