upgrade-util icon indicating copy to clipboard operation
upgrade-util copied to clipboard

[FIX] util/fields : update field in context of custom search view

Open thni-odoo opened this issue 2 years ago • 2 comments

This commit aims to make views compatible which are generated when a search filter is created using studio, view looks like

<data>
  <xpath expr="xyz" position="after">
    <filter name="filter1"  context="{'group_by': 'renamed field'}"/>
    <filter name="filter2"  context="{'group_by': 'removed field'}"/>
  </xpath>
</data>

Currently after upgrade this view will be disabled because we are not updating the field in this view.

After this fix

view:

<data>
  <xpath expr="xyz" position="after">
    <filter name="filter1"  context="{'group_by': 'New Name'}"/>
    <filter name="filter2"  context="{}"/>
  </xpath>
</data>

Alternative upgrade PR idk whether update_custom_filter is in correct file any suggestion where it should be ?

thni-odoo avatar Dec 04 '23 11:12 thni-odoo

upgradeci retry with always only hr

KangOl avatar Jan 04 '24 12:01 KangOl