Skip to content
Snippets Groups Projects
Commit bafb9356 authored by Daniil Digtyar Vasilieva's avatar Daniil Digtyar Vasilieva :call_me:
Browse files

Add domain to chart_template_id to show only actives

parent def4f514
No related branches found
No related tags found
2 merge requests!86Fix partners company,!6614.0 fix migration error and nice to have
......@@ -23,6 +23,11 @@ class AccountMulticompanyEasyCreationWiz(models.TransientModel):
)
capital_share = fields.Monetary(string="Initial capital share", default=100)
create_user = fields.Boolean(string="Create user for cooperator", default=True)
chart_template_id = fields.Many2one(
comodel_name="account.chart.template",
string="Chart Template",
domain=[('visible', '=', True)]
)
def update_product_category_company_share(self):
new_company_id = self.new_company_id.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment