0
我創建已在odoo創造了更多的thants 10款車型,我已經tryed創建模型名稱「mealitem」,但它產生的eroor: 「模式mealitem沒有表「模式「mealitem」沒有表
class meal_list(models.Model):
_name="mealitem"
name=fields.Char("The Name")
在這裏的怪是,當我使用相同的代碼和UNE其他名稱,如allitem
class meal_list(models.Model):
_name="allitem"
name=fields.Char("The Name")
有任何錯誤!所以我不明白爲什麼名稱mealitem不再工作!
幫助!