# Copyright 2023 Quartile Limited # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from flectra import api, models class ResCompany(models.Model): _inherit = "res.company" @api.model_create_multi def create(self, vals_list): self = self.with_context(creating_from_company=True) return super().create(vals_list)