Repository
odoo/odoo · module folder
Module version
1.0
Category
Accounting/Localizations/EDI
Folder size
0.14 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 06:46:59
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Dylan Kiss (dyki), Jinane Maksoud, Nicolas Viseur (vin), Sven Fuehr, David Monnom, masm-odoo, Krzysztof Magusiak (krma), Ajit Singh, mojem, Laurent Smet (LAS), adip-odoo, Arnav Varshney, Woojang Pyeon, jand-odoo, prdu, erle
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
    This modules allows the user to send consolidated invoices to the MyInvois system when using the POS app.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
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_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
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 (4)

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 (3)
  • action_open_consolidate_invoice_wizard(self)
    Open the wizard, and set a default date_from/date_to based on the current date as well as already existing consolidated invoices.
  • 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 (1)
  • 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'
Public methods (1)
  • action_show_myinvois_documents(self)

Loading…