TIP: You can type at any time to perform a new search.
Portugal InvoiceXpress Legal Transport Documents
l10n_pt_stock_invoicexpress · OCA/l10n-portugal
Security findings
- Repository
- OCA/l10n-portugal · module folder · Try on Runboat
- Module version
- Category
- Accounting/Localizations/EDI
- Folder size
- 0.27 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/l10n-portugal
- Last tracking update
- 2026-08-24 17:45:45
- Authors
- Odoo Community Association (OCA), Open Source Integrators
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators
- Committers
- Daniel Reis, Weblate, OCA-git-bot, oca-ci, Devin AI
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Generate Portuguese tax authority legal transport documents ("Guias de Transporte") using InvoiceXpress. The InvoiceXpress document is automatically generated when an ougoing Transfer or Delivery Order is validated. This feature depends on the InvoiceXpress Invoice generation feature. See <https://github.com/OCA/l10n-portugal/blob/14.0/l10n_pt_account_invoicexpress/README.rst> for more details. **UPDATE November/2021:** Deliveries: - Added support to the different document types, Transport ("Guia de Transporte") and Shipment ("Guia de Remessa"). The default document type is set on the Operation Type. - Changed the line description to be the Product name, instead of the original Sales Order description, so that it uses the most up to date product description. - Added tax details to the document lines.
Code Analysis
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_company_form_invoicexpress_stock |
InvoiceXpress Stock Company Configuration | res.company | form | Inherits base.view_company_form |
res_config_settings_view_form |
res.config.settings.view.form.invoicexpress | res.config.settings | form | Inherits l10n_pt_account_invoicexpress.res_config_settings_view_form |
view_order_form |
sale.order.form | sale.order | form | Inherits sale.view_order_form |
view_stock_picking_form |
stock.picking.form | stock.picking | form | Inherits stock.view_picking_form |
view_stock_picking_type_form |
InvoiceXpress: add fields | stock.picking.type | form | Inherits stock.view_picking_type_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (1)
-
invoicexpress_delivery_template_idMany2one → mail.templatedefault=<expr>domain="[('model', '=', 'stock.picking')]"help='Used to generate the To, Cc, Subject and Body for the InvoiceXpress email sending the Delivery document.' args: 'mail.template', 'InvoiceXpress Delivery Email'
-
create_multi(self, vals_list)@api.model -
write(self, vals)
New fields (1)
-
invoicexpress_delivery_template_idMany2onereadonly=Falserelated='company_id.invoicexpress_delivery_template_id'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
l10npt_has_tax_exempt_linesBooleancompute='_compute_l10npt_has_tax_exempt_lines' -
l10npt_vat_exempt_reasonMany2one → account.l10n_pt.vat.exempt.reasoncompute='_compute_l10npt_vat_exempt_reason'help='VAT exemption reason used on invoices and transport documents created from this sale order. Defaults from the sales journal.'readonly=Falsestore=Truestring='VAT Exempt Reason' args: 'account.l10n_pt.vat.exempt.reason'
No public methods.
New fields (1)
-
l10npt_invoicexpress_tax_idMany2one → account.taxcompute='_compute_l10npt_invoicexpress_tax_id'help='Tax used for the InvoiceXpress transport document line.'string='InvoiceXpress Tax' args: 'account.tax'
No public methods.
New fields (12)
-
can_invoicexpressBooleancompute='_compute_can_invoicexpress' -
can_invoicexpress_emailBooleancompute='_compute_can_invoicexpress_email' -
invoicexpress_doc_typeSelectioncompute='_compute_invoicexpress_doc_type'copy=Falsehelp='Select the type of legal delivery document to be created by InvoiceXpress.'readonly=Falsestore=Truestring='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')] -
invoicexpress_idCharcopy=Falsereadonly=True args: 'InvoiceXpress ID' -
invoicexpress_numberCharcopy=Falsereadonly=True args: 'InvoiceXpress Number' -
invoicexpress_permalinkCharcopy=Falsereadonly=True args: 'InvoiceXpress Doc Link' -
invoicexpress_send_emailBooleancompute='_compute_invoicexpress_send_email'copy=Falsehelp="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent."readonly=Falsestore=True args: 'InvX Send Email' -
invoicexpress_transport_dateDatetimecopy=Falsehelp='Date for the InvoiceXpress transport document. If not set, the shipping date will be used.'string='InvX Transport Document Date' -
l10npt_has_tax_exempt_linesBooleancompute='_compute_l10npt_has_tax_exempt_lines' -
l10npt_transport_doc_due_dateDatecompute='_compute_l10npt_transport_doc_due_date'readonly=Falsestore=True args: 'Transport Doc. Validity' -
l10npt_vat_exempt_reasonMany2one → account.l10n_pt.vat.exempt.reasoncompute='_compute_l10npt_vat_exempt_reason'help='VAT exemption reason to send to InvoiceXpress when the transport document contains exempt items.'readonly=Falsestore=Truestring='VAT Exempt Reason' args: 'account.l10n_pt.vat.exempt.reason' -
license_plateChar
-
action_create_invoicexpress_delivery(self)Generate legal "Guia de Transporte", for customer deliveries or transfers between warehouses. We allow generating more than one for the same Odoo document. -
action_send_invoicexpress_delivery(self, ignore_no_config=False) -
button_validate(self)Automatically generate legal transport docs for PT customers
New fields (2)
-
invoicexpress_doc_typeSelectionhelp='Select the type of legal delivery document to be created by InvoiceXpress. If unset' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('none', 'No InvoiceXpress document')] -
invoicexpress_include_uomBooleandefault=Falsehelp='If checked, the Unit of Measure will be included in the line descriptions sent to InvoiceXpress.'string='Include UoM in Descriptions'
No public methods.
Loading…
Loading…
Loading…
Loading…