Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 11 Odoo series since 8.0

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

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

Description

This module is usefull if there are multiple companies in the same Odoo database and those companies sell goods or services among themselves. It allow to create an invoice in company A from an invoice in company B.

Imagine you have company A and company B in the same Odoo database. First scenario: company B create an invoice with company A as customer. The module will automate the generation of the supplier invoice in company A. Second scenario: company A create an invoice with company B as supplier. The module will automate the generation of the customer invoice in company B.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_sale_inter_company

Code analysis

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

Views touched 2

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings form Inherits base_setup.res_config_settings_view_form
view_move_form account.move.form - HACK: Extra fields for odoo.tests.Form() to work account.move form Inherits account.view_move_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (2)
  • auto_generated Boolean
    copy=False default=False args: 'Auto Generated Document'
  • auto_invoice_id Many2one → account.move
    copy=False prefetch=False readonly=True string='Source Invoice' args: 'account.move'
Public methods (3)
  • button_cancel(self)
  • button_draft(self)
  • write(self, vals)

New fields (1)
  • auto_invoice_line_id Many2one → account.move.line
    copy=False prefetch=False readonly=True string='Source Invoice Line' args: 'account.move.line'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_invoice_user_id Many2one → res.users
    help='Responsible user for creation of invoices triggered by intercompany rules.' string='Inter Company Invoice User' args: 'res.users'
  • intercompany_invoicing Boolean
    default=True help='Enable intercompany invoicing: \n* Generate a Customer Invoice when a bill with this company is created.\n* Generate a Vendor Bill when an invoice with this company as a customer is created.' string='Generate Inter company Invoices'
  • invoice_auto_validation Boolean
    default=True help='When an invoice is created by a multi company rule for this company, it will automatically validate it'
Public methods (0)

No public methods.

New fields (3)
  • intercompany_invoice_user_id Many2one
    help='Responsible user for creation of invoices triggered by intercompany rules. If not set the user initiating thetransaction will be used' readonly=False related='company_id.intercompany_invoice_user_id'
  • intercompany_invoicing Boolean
    help='Enable intercompany invoicing: \n * Generate a Customer Invoice when a bill with this company is created.\n * Generate a Vendor Bill when an invoice with this company as a customer is created.' readonly=False related='company_id.intercompany_invoicing' string='Generate Inter company Invoices'
  • invoice_auto_validation Boolean
    help='When an invoice is created by a multi company rule for this company, it will automatically validate it.' readonly=False related='company_id.invoice_auto_validation' string='Invoices Auto Validation'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…