odoo-addon-base-import-async 16.0.1.1.1__py3-none-any.whl → 16.0.1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ Asynchronous Import
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:4e6926a0780cf7844d24231d81d0fb2762f3a37c77d5e96696b9f5b0e3e5c5e2
10
+ !! source digest: sha256:07386b2c38bebbafa1ae11daf67ccfa3682f8fc15f7ae91080ed341ec3269ec8
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -5,7 +5,7 @@
5
5
  {
6
6
  "name": "Asynchronous Import",
7
7
  "summary": "Import CSV files in the background",
8
- "version": "16.0.1.1.1",
8
+ "version": "16.0.1.2.0",
9
9
  "author": "Akretion, ACSONE SA/NV, Odoo Community Association (OCA)",
10
10
  "license": "AGPL-3",
11
11
  "website": "https://github.com/OCA/queue",
@@ -1,7 +1,13 @@
1
1
  <odoo noupdate="1">
2
+ <record model="queue.job.channel" id="channel_base_import">
3
+ <field name="name">base_import</field>
4
+ <field name="parent_id" ref="queue_job.channel_root" />
5
+ </record>
6
+
2
7
  <record id="job_function_base_import_import_split_file" model="queue.job.function">
3
8
  <field name="model_id" ref="base_import.model_base_import_import" />
4
9
  <field name="method">_split_file</field>
10
+ <field name="channel_id" ref="channel_base_import" />
5
11
  <field
6
12
  name="related_action"
7
13
  eval='{"func_name": "_related_action_attachment"}'
@@ -13,6 +19,7 @@
13
19
  >
14
20
  <field name="model_id" ref="base_import.model_base_import_import" />
15
21
  <field name="method">_import_one_chunk</field>
22
+ <field name="channel_id" ref="channel_base_import" />
16
23
  <field
17
24
  name="related_action"
18
25
  eval='{"func_name": "_related_action_attachment"}'
@@ -47,7 +47,9 @@ class BaseImportImport(models.TransientModel):
47
47
 
48
48
  # get the translated model name to build
49
49
  # a meaningful job description
50
- search_result = self.env["ir.model"].name_search(self.res_model, operator="=")
50
+ search_result = (
51
+ self.env["ir.model"].sudo().name_search(self.res_model, operator="=")
52
+ )
51
53
  if search_result:
52
54
  translated_model_name = search_result[0][1]
53
55
  else:
@@ -8,10 +8,11 @@
8
8
 
9
9
  /*
10
10
  :Author: David Goodger (goodger@python.org)
11
- :Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
12
  :Copyright: This stylesheet has been placed in the public domain.
13
13
 
14
14
  Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
15
16
 
16
17
  See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
17
18
  customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
274
275
  margin-left: 2em ;
275
276
  margin-right: 2em }
276
277
 
277
- pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code .ln { color: gray; } /* line numbers */
278
279
  pre.code, code { background-color: #eeeeee }
279
280
  pre.code .comment, code .comment { color: #5C6576 }
280
281
  pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
300
301
  span.pre {
301
302
  white-space: pre }
302
303
 
303
- span.problematic {
304
+ span.problematic, pre.problematic {
304
305
  color: red }
305
306
 
306
307
  span.section-subtitle {
@@ -366,7 +367,7 @@ ul.auto-toc {
366
367
  !! This file is generated by oca-gen-addon-readme !!
367
368
  !! changes will be overwritten. !!
368
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:4e6926a0780cf7844d24231d81d0fb2762f3a37c77d5e96696b9f5b0e3e5c5e2
370
+ !! source digest: sha256:07386b2c38bebbafa1ae11daf67ccfa3682f8fc15f7ae91080ed341ec3269ec8
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" 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 image-reference" href="https://github.com/OCA/queue/tree/16.0/base_import_async"><img alt="OCA/queue" src="https://img.shields.io/badge/github-OCA%2Fqueue-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_import_async"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/queue&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
373
  <p>This module extends the standard CSV import functionality
@@ -486,7 +487,9 @@ and let the user control the asynchronous behaviour.</p>
486
487
  <div class="section" id="maintainers">
487
488
  <h2><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h2>
488
489
  <p>This module is maintained by the OCA.</p>
489
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
490
+ <a class="reference external image-reference" href="https://odoo-community.org">
491
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
492
+ </a>
490
493
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
491
494
  mission is to support the collaborative development of Odoo features and
492
495
  promote its widespread use.</p>
@@ -1,20 +1,19 @@
1
1
  Metadata-Version: 2.1
2
- Name: odoo-addon-base-import-async
3
- Version: 16.0.1.1.1
2
+ Name: odoo-addon-base_import_async
3
+ Version: 16.0.1.2.0
4
4
  Summary: Import CSV files in the background
5
5
  Home-page: https://github.com/OCA/queue
6
6
  Author: Akretion, ACSONE SA/NV, Odoo Community Association (OCA)
7
7
  Author-email: support@odoo-community.org
8
8
  License: AGPL-3
9
- Platform: UNKNOWN
10
9
  Classifier: Programming Language :: Python
11
10
  Classifier: Framework :: Odoo
12
11
  Classifier: Framework :: Odoo :: 16.0
13
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
13
  Classifier: Development Status :: 5 - Production/Stable
15
14
  Requires-Python: >=3.10
16
- Requires-Dist: odoo-addon-queue-job <16.1dev,>=16.0dev
17
- Requires-Dist: odoo <16.1dev,>=16.0a
15
+ Requires-Dist: odoo-addon-queue-job<16.1dev,>=16.0dev
16
+ Requires-Dist: odoo<16.1dev,>=16.0a
18
17
 
19
18
  ===================
20
19
  Asynchronous Import
@@ -25,7 +24,7 @@ Asynchronous Import
25
24
  !! This file is generated by oca-gen-addon-readme !!
26
25
  !! changes will be overwritten. !!
27
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
- !! source digest: sha256:4e6926a0780cf7844d24231d81d0fb2762f3a37c77d5e96696b9f5b0e3e5c5e2
27
+ !! source digest: sha256:07386b2c38bebbafa1ae11daf67ccfa3682f8fc15f7ae91080ed341ec3269ec8
29
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
29
 
31
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -165,5 +164,3 @@ promote its widespread use.
165
164
  This module is part of the `OCA/queue <https://github.com/OCA/queue/tree/16.0/base_import_async>`_ project on GitHub.
166
165
 
167
166
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
168
-
169
-
@@ -1,13 +1,13 @@
1
- odoo/addons/base_import_async/README.rst,sha256=8NHJiv1JUbO_DdgTrViryNcDNUhvwTYkMN6GbHacWMA,5062
1
+ odoo/addons/base_import_async/README.rst,sha256=flHh-8-1FRRUndQJLraC4HUfFWSWS0pN20MuzAM-heo,5062
2
2
  odoo/addons/base_import_async/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
3
- odoo/addons/base_import_async/__manifest__.py,sha256=T7gYc-nBB-egoAwmcPMh0M7QUUX6DkhiACU2sIjgDbI,843
4
- odoo/addons/base_import_async/data/queue_job_function_data.xml,sha256=MhA59cNIFz0tybIEYYfas5vIgAL7YVje26-n0EKnwVE,763
3
+ odoo/addons/base_import_async/__manifest__.py,sha256=BOilPGveMUoe6lsSw9zHFZElsQF4zihS2x2QXWoVoW0,843
4
+ odoo/addons/base_import_async/data/queue_job_function_data.xml,sha256=khU0A8VUGwDbK7LqPRE2FUxDVhrkrlmdMw1tn63FsuQ,1077
5
5
  odoo/addons/base_import_async/i18n/base_import_async.pot,sha256=nwOsvZ7eHAHGNxc1s0iuMmjFlr5Xi-4FqmmLns1pJLI,2050
6
6
  odoo/addons/base_import_async/i18n/es.po,sha256=4pquZPN4cwoNJULxAPDDNgOO4bagakEJw7QRyU-QHHM,2774
7
7
  odoo/addons/base_import_async/i18n/it.po,sha256=4WklbHLMT1sb8MfShTBaQQTP4Ruz1HpVi1PfTrbXuUc,2736
8
8
  odoo/addons/base_import_async/i18n/tr.po,sha256=kKC4SZ-I034SLjmSIpCkLyUFpaiflEw_7_cCEDCBe9Y,2854
9
9
  odoo/addons/base_import_async/models/__init__.py,sha256=O_Ai1JLN-RrWSSWZmCSu_fZ4kq-2nJiBEWOjerAN6Qo,123
10
- odoo/addons/base_import_async/models/base_import_import.py,sha256=biSkOrT5wsbxsr4cQ1MyyGJtWXiLaAYs6kTYsDucY0o,7229
10
+ odoo/addons/base_import_async/models/base_import_import.py,sha256=nfbJDz6UvHJVNcbJqJKmiPQpIIIzglSaU3nyBC0udyY,7260
11
11
  odoo/addons/base_import_async/models/queue_job.py,sha256=EqqBGroTGnMoIpMBeO6a3C4hE9XIR6_ShHSylOk_kLI,539
12
12
  odoo/addons/base_import_async/readme/CONTRIBUTORS.rst,sha256=u4L_ZT4Sx_MJVwndUIjR2JvTK9StCd30CdlRJTg0qC4,524
13
13
  odoo/addons/base_import_async/readme/CREDITS.rst,sha256=XtPazYj6oqxvg62KjKqErJ8pssTcghFavMtYTDMOozc,87
@@ -16,10 +16,10 @@ odoo/addons/base_import_async/readme/HISTORY.rst,sha256=T6aa_cvCBaKeznUBeElAxpkZ
16
16
  odoo/addons/base_import_async/readme/ROADMAP.rst,sha256=H7QLRKOuskOesnFfIjHKIEyrZr10TSA4hbJlDnZwpS4,243
17
17
  odoo/addons/base_import_async/readme/USAGE.rst,sha256=5Ftjm8p8wuAbkWftGQKFHgJNhJlo0AAC95D6FR79o14,1171
18
18
  odoo/addons/base_import_async/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
19
- odoo/addons/base_import_async/static/description/index.html,sha256=daOJHoJANB-H51JXbA1OLbcJTmSkBx9daGXLa96OSA0,15669
19
+ odoo/addons/base_import_async/static/description/index.html,sha256=9BKBVc2pamDGBb10SdEBg5CNBtRS4kFvfNfbS1XHdzw,15752
20
20
  odoo/addons/base_import_async/static/src/js/import.js,sha256=LWkEcNmEPPcjS61Bs8vbwkhFvYPGG5hPeIErb6uXZmM,997
21
21
  odoo/addons/base_import_async/static/src/xml/import.xml,sha256=67ASHYXFlGUnbJ1SxHLOlcLFIwuhisGVJw5buYP7JQc,706
22
- odoo_addon_base_import_async-16.0.1.1.1.dist-info/METADATA,sha256=Er6b1WHCvoyVmTZJmLvGk9OM-n2E-GjKTX3qijEbQZI,5725
23
- odoo_addon_base_import_async-16.0.1.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
- odoo_addon_base_import_async-16.0.1.1.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
25
- odoo_addon_base_import_async-16.0.1.1.1.dist-info/RECORD,,
22
+ odoo_addon_base_import_async-16.0.1.2.0.dist-info/METADATA,sha256=t_MhCnyNaqQzoYxq8QuPO6ZKe9lSxRFBWnH40SHVYEg,5703
23
+ odoo_addon_base_import_async-16.0.1.2.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
24
+ odoo_addon_base_import_async-16.0.1.2.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
25
+ odoo_addon_base_import_async-16.0.1.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5