Browse Source

:Dec 15 [UPDT] Feature Updated 'instant_import'

17.0
Risvana Cybro 1 day ago
parent
commit
62532f70d6
  1. 45
      instant_import/static/description/index.html
  2. 1906
      instant_import/wizard/import_wizard.py

45
instant_import/static/description/index.html

@ -212,6 +212,44 @@
<img src="./assets/icons/patter.svg">
</div>
</div>
<section class="oe_container">
<div class="mt64 mb64">
<div class="col-sm-12 py-4">
<div class="alert alert-primary mt-4"
style="color: #000;background-color: #f8f8f8;border: 1px solid #dcdcdc;border-radius: 16px;">
This module uses some external python dependencies :
pandas. Before
installing the module install the python
package
first. The required python packages can be installed using the
following commands.
<br>
<br/>
<code class="d-block mt-2"
style="background-color:#4e4e4e;color: #fff;padding: 6px 8px; border-radius: 5px;">pip
install pandas</code>
<br>
<br/>
For smoother performance during limit handling and bulk imports, you may optionally
increase processing time in <span><b>odoo.conf</b></span> by adjusting <span><b>limit_time_cpu</b></span>
and <span><b>limit_time_real</b></span>.
<br>
<code class="d-block mt-2"
style="background-color:#4e4e4e;color: #fff; border-radius: 5px; padding: 6px 8px;">limit_time_cpu
= 600<br>
limit_time_real = 9999<br/>
</code><br>
The ability to update existing records during import is not yet implemented.
Currently, the importer supports only the creation of new records,
Updates to existing entries will be available in a future release.
</div>
</div>
</div>
</section>
<!-- key-highlight -->
<div class="" style="border-radius: 16px;
padding: 60px 40px;
@ -568,7 +606,8 @@
style="color:#fff; font-size:14px"></i>
</div>
<p style="color:#1A202C; font-weight:600; font-size:1.2rem; margin-bottom:2px">
Ensures clean and consistent import for Many2one, One2many and Many2many relational fields.
Ensures clean and consistent import for Many2one, One2many and Many2many
relational fields.
</p>
</div>
@ -885,7 +924,9 @@
</div>
</a>
</div>
</div></section></div>
</div>
</section>
</div>
<!-- licence -->
<div class="tab-pane fade" id="profile" role="tabpanel"
aria-labelledby="profile-tab">

1906
instant_import/wizard/import_wizard.py

File diff suppressed because it is too large
Loading…
Cancel
Save