Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6505 มุมมอง

Hi

i use:

ubuntu 19.04, odoo 12.0

i followed thi documentation (the link below):

https://www.odoo.com/documentation/12.0/howtos/backend.html

i'm in thhis title: 

so when i write this code 

>>

"from odoo import models, fields


class MinimalModel(models.Model):
_name = 'academy.model'

name = fields.char(string="Title", required=True)"
I DON'T FIND THE MODELS IN THE SETTING > Technical > Database structure > models,
When i'm searching of the name of the model.
Thanks!
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Try to add -u yourModuleName to the server parameter when launching it to update your module :)

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

After making the custom module did you installed it ? If you installed the newly created module in the database only you can see your model under the models menu in the Settings.

If you are starting the Odoo Development have a look at this also: Odoo 12 Development

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
ต.ค. 19
5375
3
ธ.ค. 22
3635
Odoo Installation แก้ไขแล้ว
3
ม.ค. 24
32436
How to make sign up menu in website? แก้ไขแล้ว
2
เม.ย. 20
4563
1
เม.ย. 20
3545