16.0-backport-survey-tools #23
@@ -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):
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<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" />
|
||||
|
||||
Reference in New Issue
Block a user