Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.0.1
Category
Multicompany
Folder size
0.12 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/multi-company
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
VĂ­ctor MartĂ­nez, Weblate, OCA-git-bot, oca-ci, Enrique MartĂ­n
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a wizard to easily create companies.

Code Analysis

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)
  • acc_number Char
    required=True string='Account Number'
  • allow_out_payment Boolean
    default=True string='Allow Out Payments'
  • bank_id Many2one → res.bank
    comodel_name='res.bank' string='Bank'
  • 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 string='Currency'
  • 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…