ValueError: Many2one shrinkage.record.line.shrinkage_record_id from Model to TransientModel is forbidden,
What does it mean?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
ValueError: Many2one shrinkage.record.line.shrinkage_record_id from Model to TransientModel is forbidden,
What does it mean?
It means Model 'shrinkage.record.line' is Transient Model. (e.g. class MyTransientModel(models.TransientModel)
you couldn't use a transient model as Many2one field in persistence model (e.g. class MyModel(models.Model))
Transient Model are not handled as Models.model in the database. Although, it also saved as a database record, it will be deleted automatically after its data transferring work.
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
3
de nov. 24
|
30010 | ||
|
1
de des. 21
|
2756 | ||
|
0
de des. 21
|
2322 | ||
|
0
d’abr. 15
|
4637 | ||
|
2
de març 15
|
10405 |