Files
odoo_source/addons/test_spreadsheet/models/spreadsheet_mixin_test.py
T
Rmi Rahir (rar) d0f3341f8d [FIX] spreadsheet: move test to dedicated module
The test added in #120818 was relying on a model that does not depend on
module `spreadsheet, rather the opposite. This information was probably
lost during the forwardport process.

Since the fix concerns `spreadsheet.mixin` and not just
`spreadsheet.dashboard`, it makes sense to test it globally, in a
dedicated test module.

Fixes runbot build errors 20966 and 20968

closes odoo/odoo#123947

X-original-commit: 7205e3b26eb3de3f53d6984cd07ec3e4b3fbcfdd
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2023-06-07 21:34:40 +02:00

10 lines
276 B
Python

from odoo import models
class SpreadsheetDummy(models.Model):
""" A very simple model only inheriting from spreadsheet.mixin to test
its model functioning."""
_description = 'Dummy Spreadsheet'
_name = 'spreadsheet.test'
_inherit = ['spreadsheet.mixin']