Portugal InvoiceXpress Legal Transport Documents

l10n_pt_stock_invoicexpress
REPOSITORY
REPOSITORYOCA/l10n-portugal
GIT
GIThttps://github.com/OCA/l10n-portugal.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-portugal/tree/19.0/l10n_pt_stock_invoicexpress
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-portugal
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-portugal:
    - l10n_pt_account_invoicexpress
    - l10n_pt_vat
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_pt
    - base_vat
    - account_edi_ubl_cii
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 (4)
XML IDNameModelTypeStatus
res_company_form_invoicexpress_stock InvoiceXpress Stock Company Configuration res.company field Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.invoicexpress res.config.settings div Inherits l10n_pt_account_invoicexpress.res_config_settings_view_form
view_stock_picking_form stock.picking.form stock.picking field Inherits stock.view_picking_form
view_stock_picking_type_form InvoiceXpress: add fields stock.picking.type field Inherits stock.view_picking_type_form
Models touched (5)

New fields (1)
  • invoicexpress_delivery_template_id Many2one → mail.template
    default=<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'
Public methods (2)
  • create_multi(self, vals_list)
    @api.model
  • write(self, vals)

New fields (1)
  • invoicexpress_delivery_template_id Many2one
    readonly=False related='company_id.invoicexpress_delivery_template_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • can_invoicexpress Boolean
    compute='_compute_can_invoicexpress'
  • can_invoicexpress_email Boolean
    compute='_compute_can_invoicexpress_email'
  • invoicexpress_doc_type Selection
    compute='_compute_invoicexpress_doc_type' copy=False help='Select the type of legal delivery document to be created by InvoiceXpress.' readonly=False store=True string='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')]
  • invoicexpress_id Char
    copy=False readonly=True args: 'InvoiceXpress ID'
  • invoicexpress_number Char
    copy=False readonly=True args: 'InvoiceXpress Number'
  • invoicexpress_permalink Char
    copy=False readonly=True args: 'InvoiceXpress Doc Link'
  • invoicexpress_send_email Boolean
    compute='_compute_invoicexpress_send_email' copy=False help="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent." readonly=False store=True args: 'InvX Send Email'
  • l10npt_transport_doc_due_date Date
    compute='_compute_l10npt_transport_doc_due_date' readonly=False store=True args: 'Transport Doc. Validity'
  • license_plate Char
Public methods (3)
  • 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 (1)
  • invoicexpress_doc_type Selection
    help='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')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-portugal
GIT
GIThttps://github.com/OCA/l10n-portugal.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-portugal/tree/18.0/l10n_pt_stock_invoicexpress
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, Weblate, OCA-git-bot, oca-ci, adrip-s73
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-portugal
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-portugal:
    - l10n_pt_account_invoicexpress
    - l10n_pt_vat
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_pt
    - base_vat
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 March/2026:**

- Can set a specific loading date on the Picking Document.
  For example, to allow preparing transport document on the day before.
- Can re-create the transport document after confirming the Picking.
  For example, to create a new document for the same shipment if the 
  original one ended not happening and its dates are obsolete.
- Use the pikcing line description on the transport document.
- Option to include UoM in line descriptions, configured on the Operation Type.

**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 (4)
XML IDNameModelTypeStatus
res_company_form_invoicexpress_stock InvoiceXpress Stock Company Configuration res.company field Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.invoicexpress res.config.settings div Inherits l10n_pt_account_invoicexpress.res_config_settings_view_form
view_stock_picking_form stock.picking.form stock.picking field Inherits stock.view_picking_form
view_stock_picking_type_form InvoiceXpress: add fields stock.picking.type field Inherits stock.view_picking_type_form
Models touched (6)

New fields (1)
  • invoicexpress_delivery_template_id Many2one → mail.template
    default=<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'
Public methods (2)
  • create_multi(self, vals_list)
    @api.model
  • write(self, vals)

New fields (1)
  • invoicexpress_delivery_template_id Many2one
    readonly=False related='company_id.invoicexpress_delivery_template_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (10)
  • can_invoicexpress Boolean
    compute='_compute_can_invoicexpress'
  • can_invoicexpress_email Boolean
    compute='_compute_can_invoicexpress_email'
  • invoicexpress_doc_type Selection
    compute='_compute_invoicexpress_doc_type' copy=False help='Select the type of legal delivery document to be created by InvoiceXpress.' readonly=False store=True string='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')]
  • invoicexpress_id Char
    copy=False readonly=True args: 'InvoiceXpress ID'
  • invoicexpress_number Char
    copy=False readonly=True args: 'InvoiceXpress Number'
  • invoicexpress_permalink Char
    copy=False readonly=True args: 'InvoiceXpress Doc Link'
  • invoicexpress_send_email Boolean
    compute='_compute_invoicexpress_send_email' copy=False help="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent." readonly=False store=True args: 'InvX Send Email'
  • invoicexpress_transport_date Datetime
    copy=False help='Date for the InvoiceXpress transport document. If not set, the shipping date will be used.' string='InvX Transport Document Date'
  • l10npt_transport_doc_due_date Date
    compute='_compute_l10npt_transport_doc_due_date' readonly=False store=True args: 'Transport Doc. Validity'
  • license_plate Char
Public methods (3)
  • 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 (3)
  • invoicexpress_auto_create Boolean
    default=True help='If checked, the InvoiceXpress document will be automatically created when the picking is validated.' string='Auto-create InvoiceXpress Document'
  • invoicexpress_doc_type Selection
    help='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_uom Boolean
    default=False help='If checked, the Unit of Measure will be included in the line descriptions sent to InvoiceXpress.' string='Include UoM in Descriptions'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-portugal
GIT
GIThttps://github.com/OCA/l10n-portugal.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-portugal/tree/17.0/l10n_pt_stock_invoicexpress
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-portugal
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-portugal:
    - l10n_pt_account_invoicexpress
    - l10n_pt_vat
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_pt
    - base_vat
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 (4)
XML IDNameModelTypeStatus
res_company_form_invoicexpress_stock InvoiceXpress Stock Company Configuration res.company field Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.invoicexpress res.config.settings div Inherits l10n_pt_account_invoicexpress.res_config_settings_view_form
view_stock_picking_form stock.picking.form stock.picking field Inherits stock.view_picking_form
view_stock_picking_type_form InvoiceXpress: add fields stock.picking.type field Inherits stock.view_picking_type_form
Models touched (5)

New fields (1)
  • invoicexpress_delivery_template_id Many2one → mail.template
    default=<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'
Public methods (2)
  • create_multi(self, vals_list)
    @api.model
  • write(self, vals)

New fields (1)
  • invoicexpress_delivery_template_id Many2one
    readonly=False related='company_id.invoicexpress_delivery_template_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • can_invoicexpress Boolean
    compute='_compute_can_invoicexpress'
  • can_invoicexpress_email Boolean
    compute='_compute_can_invoicexpress_email'
  • invoicexpress_doc_type Selection
    compute='_compute_invoicexpress_doc_type' copy=False help='Select the type of legal delivery document to be created by InvoiceXpress.' readonly=False store=True string='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')]
  • invoicexpress_id Char
    copy=False readonly=True args: 'InvoiceXpress ID'
  • invoicexpress_number Char
    copy=False readonly=True args: 'InvoiceXpress Number'
  • invoicexpress_permalink Char
    copy=False readonly=True args: 'InvoiceXpress Doc Link'
  • invoicexpress_send_email Boolean
    compute='_compute_invoicexpress_send_email' copy=False help="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent." readonly=False store=True args: 'InvX Send Email'
  • l10npt_transport_doc_due_date Date
    compute='_compute_l10npt_transport_doc_due_date' readonly=False store=True args: 'Transport Doc. Validity'
  • license_plate Char
Public methods (3)
  • 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 (1)
  • invoicexpress_doc_type Selection
    help='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')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-portugal
GIT
GIThttps://github.com/OCA/l10n-portugal.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-portugal/tree/16.0/l10n_pt_stock_invoicexpress
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, Weblate, OCA-git-bot, oca-ci, EmilioPascual
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-portugal
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-portugal:
    - l10n_pt_account_invoicexpress
    - l10n_pt_vat
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_pt
    - base_vat
    - sale_stock
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
res_company_form_invoicexpress_stock InvoiceXpress Stock Company Configuration res.company field Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.invoicexpress res.config.settings div Inherits base_setup.res_config_settings_view_form
view_stock_picking_form stock.picking.form stock.picking field Inherits stock.view_picking_form
view_stock_picking_type_form InvoiceXpress: add fields stock.picking.type field Inherits stock.view_picking_type_form
Models touched (5)

New fields (1)
  • invoicexpress_delivery_template_id Many2one → mail.template
    default=<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'
Public methods (2)
  • create_multi(self, vals_list)
    @api.model
  • write(self, vals)

New fields (1)
  • invoicexpress_delivery_template_id Many2one
    readonly=False related='company_id.invoicexpress_delivery_template_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • can_invoicexpress Boolean
    compute='_compute_can_invoicexpress'
  • can_invoicexpress_email Boolean
    compute='_compute_can_invoicexpress_email'
  • invoicexpress_doc_type Selection
    compute='_compute_invoicexpress_doc_type' copy=False help='Select the type of legal delivery document to be created by InvoiceXpress.' readonly=False store=True string='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')]
  • invoicexpress_id Char
    copy=False readonly=True args: 'InvoiceXpress ID'
  • invoicexpress_number Char
    copy=False readonly=True args: 'InvoiceXpress Number'
  • invoicexpress_permalink Char
    copy=False readonly=True args: 'InvoiceXpress Doc Link'
  • invoicexpress_send_email Boolean
    compute='_compute_invoicexpress_send_email' copy=False help="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent." readonly=False store=True args: 'InvX Send Email'
  • l10npt_transport_doc_due_date Date
    compute='_compute_l10npt_transport_doc_due_date' readonly=False store=True args: 'Transport Doc. Validity'
  • license_plate Char
Public methods (3)
  • 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 (1)
  • invoicexpress_doc_type Selection
    default='transport' help='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')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-portugal
GIT
GIThttps://github.com/OCA/l10n-portugal.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-portugal/tree/14.0/l10n_pt_stock_invoicexpress
VERSION
VERSION 3.0.2
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSDaniel Reis, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-portugal
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-portugal:
    - l10n_pt_account_invoicexpress
    - l10n_pt_vat
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_pt
    - base_vat
    - sale_stock
    - sale
    - sales_team
    - payment
    - utm
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
res_company_form_invoicexpress_stock InvoiceXpress Stock Company Configuration res.company field Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.invoicexpress res.config.settings div Inherits base_setup.res_config_settings_view_form
view_stock_picking_form stock.picking.form stock.picking field Inherits stock.view_picking_form
view_stock_picking_type_form InvoiceXpress: add fields stock.picking.type field Inherits stock.view_picking_type_form
Models touched (5)

New fields (1)
  • invoicexpress_delivery_template_id Many2one → mail.template
    default=<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'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)

New fields (1)
  • invoicexpress_delivery_template_id Many2one
    readonly=False related='company_id.invoicexpress_delivery_template_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • can_invoicexpress Boolean
    compute='_compute_can_invoicexpress'
  • can_invoicexpress_email Boolean
    compute='_compute_can_invoicexpress_email'
  • invoicexpress_doc_type Selection
    compute='_compute_invoicexpress_doc_type' copy=False help='Select the type of legal delivery document to be created by InvoiceXpress.' readonly=False store=True string='InvX Doc Type' args: [('transport', 'Guia de Transporte / Transport'), ('shipping', 'Guia de Remessa / Shipping'), ('devolution', 'Devolução / Return')]
  • invoicexpress_id Char
    copy=False readonly=True args: 'InvoiceXpress ID'
  • invoicexpress_number Char
    copy=False readonly=True args: 'InvoiceXpress Number'
  • invoicexpress_permalink Char
    copy=False readonly=True args: 'InvoiceXpress Doc Link'
  • invoicexpress_send_email Boolean
    compute='_compute_invoicexpress_send_email' copy=False help="If unchecked, both the InvoiceXpress email and the Delivery email won't be sent." readonly=False store=True args: 'InvX Send Email'
  • l10npt_transport_doc_due_date Date
    compute='_compute_l10npt_transport_doc_due_date' readonly=False store=True args: 'Transport Doc. Validity'
  • license_plate Char
Public methods (3)
  • 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 (1)
  • invoicexpress_doc_type Selection
    default='transport' help='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')]
Public methods (0)

No public methods.