[IMP] put company related field in multi company gorup
bzr revid: nco@tinyerp.com-20120615053352-xwh6oscn2gbqc01b
This commit is contained in:
parent
fb8dde50f6
commit
b3394e64d1
|
@ -21,7 +21,7 @@
|
|||
<button string="Cancel" special="cancel"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<group string="Accounting Details of Company" col="4">
|
||||
<group string="Accounting Details of Company" col="4" groups="base.group_multi_company">
|
||||
<field name="has_default_company" invisible="1" />
|
||||
<field name="has_chart_of_accounts" invisible="1"/>
|
||||
<field name="company_id" widget="selection" on_change="onchange_company_id(company_id)"
|
||||
|
@ -29,7 +29,7 @@
|
|||
<field name="expects_chart_of_accounts"/>
|
||||
</group>
|
||||
|
||||
<group string="Select a Chart of Accounts to Install" col="4" attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}">
|
||||
<group string="Select a Chart of Accounts to Install" col="4" groups="base.group_multi_company" attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}">
|
||||
<field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
|
||||
<button string="Install More Chart Templates" icon="gtk-go-forward"
|
||||
name="%(open_account_charts_modules)d" type="action"/>
|
||||
|
|
Loading…
Reference in New Issue