Purchase Order Import (Multiple Purchase Order Import)

by
Odoo

20.20

v 14.0 Third Party 10
Live Preview
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase (purchase)
Invoicing (account)
Discuss (mail)
Lines of code 140
Technical Name odoo_purchase_order_import
LicenseSee License tab
Websitehttp://www.probuse.com
Versions 17.0 16.0 15.0 13.0 14.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Purchase (purchase)
Invoicing (account)
Discuss (mail)
Lines of code 140
Technical Name odoo_purchase_order_import
LicenseSee License tab
Websitehttp://www.probuse.com
Versions 17.0 16.0 15.0 13.0 14.0 12.0

Purchase Order Import (Multiple Purchase Order Import)

Import Purchase Orders App for Odoo.

This module allow you to import purchase orders from excel file.

Main Features:

  • This module will allow you to import multiple purchase orders from excel.
  • Make sure you have xlwt Python libarary installed.
  • Sample Excel is available inside sample folder in module.
  • For more details see video and below screenshots.

Following fields can be Import From Excel Column.

  • Purchase ID : Purchase ID for Purchase order
  • Vendor : Vendor Name
  • Vendor Reference : Vendor Reference for Purchase order
  • Currency : Currency for Purchase order
  • Product Code : Product Code for Purchase order
  • Description : Description for Product
  • Scheduled Date : Scheduled Date for Purchase order
  • Analytic Account : Analytic Account for Purchase order
  • Analytic Tags : Analytic Tags for Purchase order
  • Quantity : Quantity for Purchase order product
  • Unit Price : Unit Price for Purchase order product
  • Taxes : Taxes appliesd for Purchase order

Make sure you have xlrd Python module installed. https://pypi.python.org/pypi/xlrd

For more details please see Video in Live Preview section. Excel sample is available inside module.

Edition Compatibility:


Enterprise Odoo.sh Community

Menu to Import Purchase Orders

Wizard to Select Excel

Imported Purchase Orders in List View

Imported Purchase Order in Form View

Sample Excel File (Also available inside Module/Sample Folder)

Contact / Support
Introducing Probuse Consulting Services Pvt. Ltd.

If you need any help or want more additional features, you may contact us through:
Email: contact@probuse.com
Website: www.probuse.com
Skype: mustufa_probuse

Probuse Consulting Service Pvt Ltd is an Software and Web development specialist which offers complete business application together. We are well experienced to provide a face for your business on the software and Internet level.

Probuse Consulting Service Pvt Ltd is a specialist in Odoo/OpenERP services and could give your business open source hand to drive.

Our Services

  • Odoo Implementation

  • Odoo Support

  • Odoo Customization

  • Odoo Migration

  • Odoo Training

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
There are no ratings yet!
Error in import
by
N
on 6/9/21, 4:10 AM Confirmed Purchase
Odoo Server Error
Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1393, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 1381, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 396, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 383, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/odoo/custom/testing/odoo_purchase_order_import/wizard/purchase_order_wizard.py", line 114, in import_purchase_file
    schedule_date = datetime.strptime(schedule_date, '%m/%d/%Y') #odoo13
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 639, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/odoo/http.py", line 315, in _handle_exception
    raise exception.with_traceback(None) from new_cause
TypeError: strptime() argument 1 must be str, not float
Re: Error in import
by
Mustufa
on 6/9/21, 5:08 AM Author

Hello,

We are not getting issues while importing. 

It seems a problem with your excel file format so you can correct it by setting format as per the sample given inside the module and it will work. So this is related to the excel you are importing with the date column having the wrong format. 

If you will still have any questions you can open a ticket in the odoo support channel https://apps.odoo.com/apps/support/84325 using the link.

Have a nice day,

Probuse Team