[ADD] test cases

This commit is contained in:
Bhavesh Odedra
2020-04-13 12:54:05 +05:30
parent 57a1916a20
commit 6a6084c41d
5 changed files with 42 additions and 7 deletions

View File

@@ -24,12 +24,6 @@ class IrActionsReport(models.Model):
_inherit = "ir.actions.report"
subreport_ids = fields.One2many("ir.actions.report.subreport", "parent_report_id")
model_id = fields.Many2one("ir.model", string="Model")
@api.onchange("model_id")
def onchange_model_id(self):
if self.model_id:
self.model = self.model_id.model
def generate_top_part(self):
return (