Skip to content

Draft: erp5_pdm: restrict acquisition of `variation` to some Portal Types

Titouan Soulard requested to merge tsoulard/erp5:for-mr-turtle into master

Some time ago, I encountered an issue while trying to configure Transformation with variations: all variations of the transformed object used as resource of the Transformation where configured as "Default Variations" on the child Transformation Transformed Resources.

Screenshot_2025-10-23_at_18-29-32_Transformation_Transformed_Resource_-_SDR_Main_Board_V4.5A_Nexedi_ERP5

It makes no sense since Transformation Transformed Resources have their own resource defined, so this commit restricts acquisition on variation to try and get rid of this issue while keeping everything else fully working.

Draft because it might need a few tries to get everything working.

Merge request reports