Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 11.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
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis 0 migration notes 3 models 1 view 0 HTTP endpoints

Description

This module adds a wizard to easily create companies.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
wizard_multicompany_easy_creation_view_form Quick Company Creation account.multicompany.easy.creation.wiz form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (4)
  • account_number Char
    required=True
  • allow_out_payment Boolean
    default=True string='Allow Out Payments'
  • bank_name Char
  • wizard_id Many2one → account.multicompany.easy.creation.wiz
    comodel_name='account.multicompany.easy.creation.wiz'
Public methods (0)

No public methods.

New fields (18)
  • bank_ids One2many → account.multicompany.bank.wiz
    comodel_name='account.multicompany.bank.wiz' inverse_name='wizard_id' string='Bank accounts to create'
  • chart_template Selection
    required=True selection='_chart_template_selection'
  • country_id Many2one → res.country
    comodel_name='res.country' compute='_compute_country_id'
  • currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr> required=True
  • default_purchase_tax Selection
    selection='_tax_selection'
  • default_purchase_tax_options Char
    compute='_compute_default_purchase_tax_options'
  • default_sale_tax Selection
    selection='_tax_selection' string='Default Sales Tax'
  • default_sale_tax_options Char
    compute='_compute_default_sale_tax_options'
  • force_purchase_tax Boolean
    help='Set default purchase tax to all products.\nIf smart search product tax is also enabled matches founded will overwrite default taxes, but not founded will remain' string='Force Purchase Tax In All Products'
  • force_sale_tax Boolean
    help='Set default sales tax to all products.\nIf smart search product tax is also enabled matches founded will overwrite default taxes, but not founded will remain' string='Force Sale Tax In All Products'
  • name Char
    required=True string='Company Name'
  • new_company_id Many2one → res.company
    comodel_name='res.company' string='Company'
  • sequence_ids Many2many → ir.sequence
    comodel_name='ir.sequence' default=<expr> string='Sequences to create'
  • smart_search_fiscal_position Boolean
    default=True help='Go over partner fiscal positions in actual company to match and set equivalent fiscal positions in the new company.'
  • smart_search_product_tax Boolean
    default=True help='Go over product taxes in actual company to match and set equivalent taxes in then new company.'
  • smart_search_specific_account Boolean
    default=True help='Go over specific accounts in actual company to match and set equivalent taxes in the new company.\nApplies to products, categories, partners, ...'
  • update_default_taxes Boolean
    help='Update default taxes applied to local transactions'
  • user_ids Many2many → res.users
    comodel_name='res.users' domain=[('share', '=', False)] string='Users allowed'
Public methods (12)
  • action_accept(self)
  • action_res_company_form(self)
  • create_bank_journals(self)
  • create_company(self)
  • create_sequences(self)
  • onchange_chart_template(self)
    @api.onchange('chart_template')
  • set_company_depend_values(self, record_field, match_field)
    Sets the value of the record_field in the new company based on the value of the same field in the current company. To search records with the same value in the new company, we use match_field. Only for m2o + company_dependant fields. Args: record_field (ir.model.fields): field on which to propagate values match_field (char): field for match values in the new company
  • set_product_taxes(self, default_sale_tax, default_purchase_tax)
  • taxes_by_company(self, company_id, match_taxes)
    @ormcache('self.id', 'company_id', 'match_taxes')
  • update_company_depend_misc(self)
  • update_product_taxes(self, product, taxes_field, company_from)
  • update_taxes(self)

New fields (0)

No new fields.

Public methods (1)
  • install_l10n_modules(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…