Skip to Content
Menu
This question has been flagged
773 Views

I have two models that have relation. The models are "banner" and "banner.category". I create Many2one relation from "banner" to "banner.category". Actually there's another model which have Many2one relations too, but the weird is why just it models error, an error appear when i call API and work normally if selecting an option in Odoo Form.

Previously, i had same case about error in relation. But it's solved when i insert others model's module name, while here the relation is in one module. This problem appear when the module installed on cloud server and work normally on local server. Does anyone know what could be leading to this?

The things that i have been tried to:
    - Restart odoo-server on cloud server
    - Reinstall that module
    - Upgrade that module
    - Create One2many relation from "banner.category" to "banner"
    - Insert module itself in depends in manifest file

Avatar
Discard

try adding codes along with question for better response