Skip to content

Commit

Permalink
[MIG] l10n_pt_stock_invoicexpress: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Sep 19, 2024
1 parent 7413057 commit 0931bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_pt_stock_invoicexpress/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Portugal InvoiceXpress Legal Transport Documents",
"summary": "Portuguese legal transport and shipping documents"
" (Guias de Transporte e Guias de Remessa) generated with InvoiceXpress",
"version": "16.0.1.0.1",
"version": "17.0.1.0.0",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/l10n-portugal",
Expand Down
2 changes: 1 addition & 1 deletion l10n_pt_stock_invoicexpress/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def action_create_invoicexpress_delivery(self):
values1 = response1.json().get(doctype)
prefix = self._get_invoicexpress_prefix(doctype)
seqnum = values1["inverted_sequence_number"]
invx_number = "%s %s" % (prefix, seqnum)
invx_number = f"{prefix} {seqnum}"
delivery.invoicexpress_number = invx_number
delivery._update_invoicexpress_status()

Expand Down

0 comments on commit 0931bfc

Please sign in to comment.