<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<page name="sales_purchases" position="after" version="7.0">
- <page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}">
+ <page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}" groups="account.group_account_invoice">
<group>
<group>
<field name="property_account_position" widget="selection"/>
</tree>
</field>
</page>
- <page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}">
+ <page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}" groups="account.group_account_invoice">
<div>
<p>Accounting-related settings are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p>
</div>
<filter string="No Responsible" domain="[('payment_responsible_id', '=', False)]"/>
<filter string="My Follow-ups" domain="[('payment_responsible_id','=', uid)]" name="my"/>
</group>
- <group expand="1" string="Group By...">
- <filter string="Follow-up Responsible" context="{'group_by':'payment_responsible_id'}"/>
- <filter string="Followup Level" context="{'group_by':'latest_followup_level_id'}"/>
- </group>
</search>
+ <xpath expr="//group[@string='Group By...']/filter[@string='Country']" position="after">
+ <filter string="Follow-up Responsible" context="{'group_by':'payment_responsible_id'}"/>
+ <filter string="Followup Level" context="{'group_by':'latest_followup_level_id'}"/>
+ </xpath>
</field>
</record>