Update internal.xml

This commit is contained in:
zainab2097 2024-10-01 12:07:07 +03:00 committed by GitHub
parent cb22943f67
commit e832c8f602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -17,13 +17,9 @@
<filter string="Favorite" name="favorite" domain="[('is_favorite','=','1')]"/>
<filter string="Subject Type" name="subject_type" domain="[('subject_type_id','=',False)]"/>
<filter string="State" name="state" domain="[('state', 'in', ('complete','draft'))]"/>
<filter name="Is Branch" string="Is Branch" domain="[('is_branch','=',True)]"/>
<filter name="NOT Branch" string="NOT Branch" domain="[('is_branch','=',False)]"/>
<group expand="1" string="Group By">
<filter string="State" name="group_by_state" context="{'group_by':'state'}"/>
<filter string="Subject Type" name="group_by_subject_type" context="{'group_by':'subject_type_id'}"/>
<filter string="Is Branch" name="group_by_is_branch" domain="[('is_branch', '=', True)]" context="{'group_by':'is_branch'}"/>
<!-- <filter string="Not Branch" name="group_by_noy_is_branch" domain="[('is_branch', '=', False)]" context="{'group_by':'is_branch'}"/> -->
</group>
@ -178,7 +174,7 @@
</header>
</xpath>
<xpath expr="//field[@name='to_ids']" position="attributes">
<attribute name="domain">[('is_branch', '=', is_branch),('type', '=', type_sender)]</attribute>
<attribute name="domain">[('type', '=', type_sender)]</attribute>
</xpath>
<xpath expr="//field[@name='to_ids']" position="after">
<field name="partner_id"/>