Reputation: 3907
I want to know, since I've never seen this type of model before models.Model_memory
How can it be translated into new Odoo v10 API?
Should it be models.TransientModel
?
EDIT
This is the method where models.Model_memory
is is used:
class FiscalBookWizard(models.Model_memory):
"""
Sales book wizard implemented using the osv_memory wizard system
"""
_name = "fiscal.book.wizard"
Upvotes: 0
Views: 607
Reputation: 2431
Since v9 wizards must be implemented with models.TransientModel
.
In v9 osv_memory works because of backward compat, but is deprecated.
See official docs.
Upvotes: 1