Skip to content

[18.0][MIG] purchase_order_import_ubl - #1361

Open
SilvioC2C wants to merge 22 commits into
OCA:18.0from
camptocamp:18.0-mig-purchase_order_import_ubl
Open

[18.0][MIG] purchase_order_import_ubl#1361
SilvioC2C wants to merge 22 commits into
OCA:18.0from
camptocamp:18.0-mig-purchase_order_import_ubl

Conversation

@SilvioC2C

@SilvioC2C SilvioC2C commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@OCA-git-bot OCA-git-bot added series:18.0 mod:purchase_order_import_ubl Module purchase_order_import_ubl labels Jun 15, 2026

@simahawk simahawk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread purchase_order_import_ubl/readme/CONTRIBUTORS.md
@SilvioC2C
SilvioC2C force-pushed the 18.0-mig-purchase_order_import_ubl branch 4 times, most recently from 460916d to 49da739 Compare June 19, 2026 12:35
@SilvioC2C SilvioC2C changed the title [18.0][MIG] purchase_order_import_ubl [18.0][MIG] purchase_order_import_ubl Jun 19, 2026

@simahawk simahawk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to check against #1336

alexis-via and others added 20 commits July 23, 2026 13:21
Add support for partner bank matching on invoice update (before, it was only supported on invoice creation)
Rename __openerp__.py to __manifest__.py and set installable to False
Add ubl invoice generation option in accounting config page
…iness document is imported in the right company
The ORderResponce document allows a supplier to communicate the ack and the confirmation of an Order documnet. Depending of its content, the PO will be cancelled or confirmed. If the OrderResponse document contains some amended line, the import process will update the picking to reflect the changes
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-10.0/edi-10.0-purchase_order_import_ubl
Translate-URL: https://translation.odoo-community.org/projects/edi-10-0/edi-10-0-purchase_order_import_ubl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: edi-10.0/edi-10.0-purchase_order_import_ubl
Translate-URL: https://translation.odoo-community.org/projects/edi-10-0/edi-10-0-purchase_order_import_ubl/
@simahawk
simahawk force-pushed the 18.0-mig-purchase_order_import_ubl branch from 49da739 to 6307ccb Compare July 23, 2026 12:17
@simahawk

Copy link
Copy Markdown
Contributor

@SilvioC2C as a 1st step I've ported some changes from v19. Could you please review the last commit?

@SilvioC2C

Copy link
Copy Markdown
Contributor Author

@simahawk last commit lgtm

Cherry-picked from the OCA/edi PR migrating this module to 19.0, keeping
this module on 18.0 with its existing module/model names:

- add type hints (etree._Element, dict[str, Any]) to the parsing methods
- turn the private module-level status-code lookup dicts into model
  class attributes (_order_response_code_to_status /
  _order_line_status_to_status), dropping the cross-module import of the
  base module's status constants
- use self.env._() instead of the bare _() for translated UserErrors
- defensively copy xml_root.nsmap before mutating it
@simahawk
simahawk force-pushed the 18.0-mig-purchase_order_import_ubl branch from 6307ccb to 1899167 Compare July 23, 2026 12:44
@simahawk

Copy link
Copy Markdown
Contributor

/ocabot migration purchase_order_import_ubl
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jul 23, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-1361-by-simahawk-bump-nobump, awaiting test results.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@simahawk The merge process could not be finalized, because command twine upload --disable-progress-bar --non-interactive --repository-url https://upload.pypi.org/legacy/ -u __token__ odoo_addon_purchase_order_import_ubl-18.0.1.0.0.3-py3-none-any.whl failed with output:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading odoo_addon_purchase_order_import_ubl-18.0.1.0.0.3-py3-none-any.whl
�[33mWARNING �[0m Error during upload. Retry with the --verbose option for more details. 
�[31mERROR   �[0m HTTPError: 429 Too Many Requests from https://upload.pypi.org/legacy/  
         Too Many Requests                                                      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_order_import_ubl Module purchase_order_import_ubl series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants