Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] sale_order_import #1003

Open
wants to merge 91 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
7ef46a6
Initial check-in of module sale_order_import, sale_stock_order_import…
alexis-via Aug 27, 2016
c27761c
Add 2 README.rst
alexis-via Sep 2, 2016
4058a8e
FIX Don't use _inherit = ['business.document.import']
alexis-via Oct 2, 2016
1794848
[IMP] handle the case where the xml file is generated with mime type
adrienpeiffer Oct 4, 2016
1fb4ad1
Add support for extraction + matching on website
alexis-via Oct 4, 2016
960b1ac
8.0 Add support for partner bank matching on invoice update (#6)
Oct 18, 2016
9bb75fd
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
0b1630f
Prepare v10 branch
alexis-via Feb 15, 2017
6442a7e
Continue port of modules for v10.0, in particular sale_order_import_*…
alexis-via Feb 27, 2017
7b27d60
Port account_invoice_import_factur-x and account_invoice_import_ubl t…
alexis-via Feb 28, 2017
edfc80a
Port purchase_order_import* to v10.0
alexis-via Feb 28, 2017
02d573b
FIX crash when pivot format had a 'note' key (and no attachment)
alexis-via Mar 31, 2017
ebc93cc
OCA Transbot updated translations from Transifex
oca-transbot Mar 31, 2018
887f714
[11.0][MIG] sale_order_import: Migration + add tests
tarteo May 17, 2018
0cca485
Fix import of sale order with price_source='pricelist' when pricelist…
alexis-via Aug 14, 2018
8549cb8
Check the VAT number of the destination partner, to make sure the bus…
alexis-via Aug 25, 2018
673f394
[UPD] Update sale_order_import.pot
oca-travis Oct 31, 2018
824ad9b
[ADD] icon.png
OCA-git-bot Apr 3, 2019
758a0ee
[12.0][MIG] sale_order_import
astirpe Apr 3, 2019
229cedf
[IMP] sale_order_import: black, isort, prettier
sebalix May 14, 2020
78378d2
[MIG] sale_order_import: Migration to 13.0
sebalix May 14, 2020
49f3cac
[UPD] README.rst
sebalix May 14, 2020
64d1c7a
[UPD] Update sale_order_import.pot
oca-travis Jul 9, 2020
9af6222
[UPD] README.rst
OCA-git-bot Jul 9, 2020
79ab6f7
Update translation files
oca-transbot Aug 10, 2020
4198ce7
Parse and import Sales Order Invoicing Partner. Refactor shipping par…
jbaudoux Oct 4, 2020
ed1b915
sale_order_import: Match existing quotation respecting the PO number
jbaudoux Oct 23, 2020
8a78008
sale_order_import: prevent to create 2 SO with the same ref and comme…
jbaudoux Oct 28, 2020
015d1e9
sale_order_import 13.0.2.0.0
OCA-git-bot Nov 4, 2020
de91a75
[IMP] sale_order_import: black, isort, prettier
phuctranfxvn Jan 2, 2021
e85c487
[MIG] sale_order_import: Migration to 14.0
phuctranfxvn May 12, 2021
80dca1a
[UPD] Update sale_order_import.pot
oca-travis Jun 3, 2021
1f32680
[UPD] README.rst
OCA-git-bot Jun 3, 2021
be04cbc
[FW][14.0][IMP] Add sale order ubl parse latest delivery
TDu Mar 12, 2021
9642519
sale_order_import 14.0.1.1.0
OCA-git-bot Aug 5, 2021
6f6b2dd
sale_order_import: split xml parsing and ease error handling
simahawk Sep 15, 2021
881cf44
sale_order_import: parser_xml_order fix not implemented exception
simahawk Sep 15, 2021
dfe1f7a
sale_order_import: fix action lookup
simahawk Sep 18, 2021
4deb227
[UPD] Update sale_order_import.pot
oca-travis Sep 24, 2021
2bbe618
sale_order_import 14.0.1.1.1
OCA-git-bot Sep 24, 2021
5e05118
Update translation files
oca-transbot Sep 24, 2021
576fc48
[ADD][13.0]sale_order_import no mail subscribe
TDu May 17, 2021
31cc0f4
[13.0][IMP] sale_order_import add hook search existing
TDu Feb 24, 2021
02cd491
sale_order_import 14.0.1.2.0
OCA-git-bot Nov 4, 2021
f7af1f5
sale_order_import: fix deprecation warning
simahawk Nov 5, 2021
ec92932
sale_order_import: fix XMLSyntaxError handling
simahawk Nov 5, 2021
800a15c
sale_order_import 14.0.1.2.1
OCA-git-bot Nov 11, 2021
1089f31
sale_order_import: _parse_xml handle NotImplementedError
simahawk Jan 26, 2022
5e8046f
sale_order_import 14.0.1.2.2
OCA-git-bot Jan 27, 2022
c57608c
sale_order_import: fix missing company default
simahawk Mar 17, 2022
40dafa8
sale_order_import 14.0.1.2.3
OCA-git-bot May 20, 2022
04ec9b4
sale_order_import: add line update values hook
TDu Feb 16, 2022
55860b4
sale_order_import 14.0.1.3.0
OCA-git-bot May 27, 2022
f91d883
sale_order_import: reduce _prepare_order complexity
simahawk May 20, 2022
c0155df
sale_order_import: refactor tests setup
simahawk May 20, 2022
fdb6fde
sale_order_import: test onchange validation
simahawk May 20, 2022
0cb0098
sale_order_import: order_file_change improve readability
simahawk May 20, 2022
3d0e2a7
sale_order_import: get_xml_files_from_pdf does not exists
simahawk May 20, 2022
0a02d19
sale_order_import: test _parse_xml
simahawk May 20, 2022
70fbd04
sale_order_import: update autorship
simahawk May 20, 2022
48587c9
sale_order_import: use pdf_helper
simahawk May 23, 2022
cbb13c5
sale_order_import: add tests TODOs
simahawk May 23, 2022
809bc79
sale_order_import: test parse_pdf_order
simahawk May 26, 2022
5fac0dd
sale_order_import: re-organize test files
simahawk May 26, 2022
b6b67cb
sale_order_import: refactor parse_order, de-dup code
simahawk May 26, 2022
845ebf8
[UPD] Update sale_order_import.pot
May 30, 2022
cb84016
[UPD] README.rst
OCA-git-bot May 30, 2022
4f2a9f3
sale_order_import 14.0.1.4.0
OCA-git-bot May 30, 2022
af04f12
Update translation files
oca-transbot May 30, 2022
ed2e8ec
sale_order_import: fix invoicing partner
TDu Sep 5, 2022
a5df226
sale_order_import 14.0.1.4.1
OCA-git-bot Sep 7, 2022
8206980
sale_order_import: propagate all available fields
simahawk May 15, 2023
f867cce
sale_order_import 14.0.1.4.2
OCA-git-bot May 17, 2023
5cf368b
sale_order_import: accept default order data via ctx
simahawk May 18, 2023
0be738e
sale_order_import 14.0.1.5.0
OCA-git-bot May 24, 2023
98125d5
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d3dfef5
[MIG] sale_order_import: Migration to 16.0
Oct 6, 2023
720540e
[IMP] sale_order_import: Don't support importing csv anymore
Oct 6, 2023
add3966
[IMP] sale_order_import: Refactor code
Oct 6, 2023
a34867f
[IMP] sale_order_import: Add tests for create/update order button
Oct 9, 2023
46acf5e
[UPD] Update sale_order_import.pot
Oct 19, 2023
245090b
[IMP] sale_order_import: add confirm_order flag to wizard
Oct 25, 2023
fa9f36e
[UPD] Update sale_order_import.pot
Oct 25, 2023
3809617
[BOT] post-merge updates
OCA-git-bot Oct 25, 2023
fa026ec
Update translation files
weblate Oct 29, 2023
ac2c45b
[IMP] sale_order_import: warn user when no price is defined in the file
thaolt99 Oct 31, 2023
8916ff7
[UPD] Update sale_order_import.pot
Nov 23, 2023
0c1f29b
[BOT] post-merge updates
OCA-git-bot Nov 23, 2023
69bc613
Update translation files
weblate Nov 23, 2023
464e5ff
[IMP] sale_order_import: apply pre-commit auto fixes
antonioburic Jul 8, 2024
85585f7
[MIG] sale_order_import: Migration to 17.0
antonioburic Jul 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions sale_order_import/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
=================
Sale Order Import
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8f06d86294fc834191b72ff6e038d8b5298882b4df0baaf2d0f69699bd6d08cd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
:target: https://github.com/OCA/edi/tree/17.0/sale_order_import
:alt: OCA/edi
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-17-0/edi-17-0-sale_order_import
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds support for the import of electronic RFQ or orders.
This module provides the base methods to import electronic orders, and
you can also plug additional formats by extending the wizard. It
requires additional modules to support specific order formats:

- module *sale_order_import_ubl*: adds support for `Universal Business
Language (UBL) <http://ubl.xml.org/>`__ RFQs and orders as:

- XML file,
- PDF file with an embedded XML file.

**Table of contents**

.. contents::
:local:

Usage
=====

This module adds a wizard in the sale menu named *Import RFQ or Order*.
This wizard will propose you to select the order or RFQ file. Depending
on the format of the file (XML or PDF) and the type of file (RFQ or
order), it may propose you additional options.

When you import an order, if there is a quotation in Odoo for the same
customer, the wizard will propose you to either update the existing
quotation or create a new order (in fact, it will create a new
quotation, so that you are free to make some modifications before you
click on the *Confirm Sale* button to convert the quotation to a sale
order).

Once the RFQ/order is imported, you should read the messages in the
chatter of the quotation because it may contain important information
about the import.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20sale_order_import%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion
* Camptocamp

Contributors
------------

- Alexis de Lattre <[email protected]>
- Dennis Sluijk <[email protected]>
- Andrea Stirpe <[email protected]>
- Simone Orsi <[email protected]>
- Duong (Tran Quoc) <[email protected]>

Other credits
-------------

The migration of this module from 13.0 to 16.0 was financially supported
by Camptocamp

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/17.0/sale_order_import>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions sale_order_import/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import wizard
from . import models
25 changes: 25 additions & 0 deletions sale_order_import/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# © 2016-2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Sale Order Import",
"version": "17.0.1.0.0",
"category": "Sales Management",
"license": "AGPL-3",
"summary": "Import RFQ or sale orders from files",
"author": "Akretion, Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/edi",
"depends": [
# OCA/sale-workflow
"sale_commercial_partner",
# OCA/edi
"base_business_document_import",
# OCA/server-tools
"onchange_helper",
# TODO: this dependency should be removed
# and support for PDF import should be moved to a glue module
"pdf_helper",
],
"data": ["security/ir.model.access.csv", "wizard/sale_order_import_view.xml"],
"installable": True,
}
Loading
Loading