16.0-backport-survey-tools #23

Merged
maudbuchwalter merged 4 commits from 16.0-backport-survery-tools into 16.0 2026-08-12 15:01:46 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 843e747a5f - Show all commits

View File

@@ -31,7 +31,7 @@ class SurveyUserInput(models.Model):
action = self.env["ir.actions.act_window"]._for_xml_id(
"survey_record_generation.survey_generated_record_action"
)
action['domain'] = [('user_input_id.survey_id', '=', self.survey_id.id)]
return action
def _mark_done(self):

View File

@@ -19,8 +19,8 @@
<field name="arch" type="xml">
<search>
<filter string="Active survey input" name="active_input"
domain="[('user_input_id.id', '=', active_id)]"
/>
domain="[('user_input_id.id', '=', context.get('active_id'))]"
/>
<field name="survey_record_creation_name" />
<field name="survey_record_creation_id" />
<field name="user_input_id" />