Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.19 MB
Module directory on disk
Code analysis 0 migration notes 5 models 12 views 0 HTTP endpoints

Description

This modules allows the user to send consolidated invoices to the MyInvois system when using the POS app.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 12

XML IDNameModelTypeStatus
myinvois_document_form_view myinvois.document.form.view.inherit.pos myinvois.document form Inherits l10n_my_edi.myinvois_document_form_view
myinvois_document_pos_form_view myinvois.document.pos.form.view myinvois.document form Inherits l10n_my_edi.myinvois_document_form_view
myinvois_document_pos_list_view myinvois.document.list.view myinvois.document list Inherits l10n_my_edi.myinvois_document_list_view
myinvois_document_pos_search_view myinvois.document.pos.search.view myinvois.document search Inherits l10n_my_edi.myinvois_document_search_view
myinvois_product_product_view_form_normalized_pos myinvois.product.product.view.form.normalized.inherit product.template form Inherits point_of_sale.product_template_view_form_normalized_pos
portal_address_form_fields_my portal_address_form_fields_my ir.ui.view qweb Inherits portal.address_form_fields
ticket_validation_screen ticket_validation_screen ir.ui.view qweb Inherits point_of_sale.ticket_validation_screen
view_partner_form_pos_ui_inherit_l10n_my_edi_pos res.partner.form.pos.ui.inherit.l10n_my_edi_pos res.partner form Inherits point_of_sale.view_partner_form_pos_ui
view_pos_order_filter pos.order.search.inherit.l10n_my_myinvois pos.order search Inherits point_of_sale.view_pos_order_filter
view_pos_order_tree pos.order.list.inherit.l10n_my_myinvois pos.order list Inherits point_of_sale.view_pos_order_tree
view_pos_order_tree_consolidated pos.order.list.consolidated.l10n_my_myinvois pos.order list Inherits point_of_sale.view_pos_order_tree
view_pos_pos_form pos.order.form.inherit pos.order form Inherits point_of_sale.view_pos_pos_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • consolidation_type Selection
    ondelete={'pos': 'cascade'} selection_add=[('pos', 'PoS Order')]
Public methods (0)

No public methods.

New fields (4)
  • linked_order_count Integer
    compute='_compute_linked_order_count'
  • pos_config_id Many2one → pos.config
    comodel_name='pos.config' readonly=True string='PoS Config'
  • pos_order_date_range Char
    compute='_compute_pos_order_date_range' store=True string='Date Range'
  • pos_order_ids Many2many → pos.order
    check_company=True column1='document_id' column2='order_id' comodel_name='pos.order' name='Orders' relation='myinvois_document_pos_order_rel'
Public methods (2)
  • action_show_myinvois_documents(self)
    Open the documents in self in the correct view based on the amount of records. When the documents are linked to pos orders, we use a specific view for them.
  • action_view_linked_orders(self)
    Return the action used to open the order(s) linked to the selected consolidated invoice.

New fields (2)
  • consolidated_invoice_ids Many2many → myinvois.document
    column1='order_id' column2='document_id' comodel_name='myinvois.document' groups='account.group_account_invoice' name='Consolidated Invoices' relation='myinvois_document_pos_order_rel'
  • l10n_my_edi_state Selection
    compute='_compute_l10n_my_edi_state' groups='account.group_account_invoice' help='State of this order on the MyInvois portal.' selection=[('in_progress', 'Validation In Progress'), ('valid', 'Valid'), ('rejected', 'Rejected'), ('invalid', 'Invalid'), ('cancelled', 'Cancelled')] store=True string='MyInvois State'
Public methods (1)
  • action_show_myinvois_documents(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…