Skip to content

Update book_view.xml - #10

Open
hosamhamdy258 wants to merge 1 commit into
PacktPublishing:masterfrom
hosamhamdy258:ch03-fix
Open

Update book_view.xml#10
hosamhamdy258 wants to merge 1 commit into
PacktPublishing:masterfrom
hosamhamdy258:ch03-fix

Conversation

@hosamhamdy258

Copy link
Copy Markdown

swapping filter_active and filter_inactive domain conditions
before

   <search>
     <field name="publisher_id"/>
     <filter name="filter_inactive"
             string="Inactive"
             domain="[('active','=',True)]"/>
     <filter name="filter_active"
             string="Active"
             domain="[('active','=',False)]"/>
   </search>

after

   <search>
     <field name="publisher_id"/>
     <filter name="filter_inactive"
             string="Inactive"
             domain="[('active','=',False)]"/>
     <filter name="filter_active"
             string="Active"
             domain="[('active','=',True)]"/>
   </search>

swapping filter_active and filter_inactive domain conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant