Hi together,
I would like to add a new field in the artikle data set. I am a new user and have no idea how to do that.
Could somebody help me to solve this problem?
thanks in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi together,
I would like to add a new field in the artikle data set. I am a new user and have no idea how to do that.
Could somebody help me to solve this problem?
thanks in advance
Hi ,
all you have to do is follow this step , you have two ways to do it , with coding or without coding , i am showing you with coding which is by far more flexible.
open your artikle data set py , look for the class and if this artikle is already a module then you may want to inherit it.
class artikle(osv.osv): _inherit = "artikle"
_columns = {
"your_new_field" : fields.(TYPE----> please refer to
the type of fields available,
https://doc.openerp.com/trunk/server/03_module_dev_02/ )
}
artikle()
make a xml view file and then look for section "inheritance in Views" at https://doc.openerp.com/trunk/server/03_module_dev_03/
after make all above edit , shut down and restart the openerp-server services
goto the module , if is a new module , then you click install at the module if is a module which already installed , then you click upgrade .
this is a simple steps that hope can help you in any where.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký