Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6523 Lượt xem

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!
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 10 19
5390
3
thg 12 22
3637
Odoo Installation Đã xử lý
3
thg 1 24
32441
2
thg 4 20
4572
1
thg 4 20
3556