I have created a Database with openerp-7. I have installed many csutom modules in this DB. Rescently i have downloaded odoo-7.0. When i click on sales menu, i am getting this error. Please help me.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Here is a methode to patch your system if any field is missing. I used this offen before :-)
1. create new folder in your addons. Nem like repair_temp
2. create a 3 new file.
- __init.__.py
import sale
- openerp.py
{
"name" : "Missing field",
"version" : "0.1",
"author" : "You name",
"website" : "",
"category" : "Generic Modules/Others",
"depends" : ["base",'sale'],
"description" : """repair missing field""",
"init_xml" : [],
"demo_xml" : [],
'update_xml': [],
"images" : [],
"installable": True
}
- sale.py
class sale_order(osv.osv):
_name = 'sale_order'
_inherit = 'sale_order'
_columns = {'is_template':fields.boolean('Template?'),
}
sale_order()
3. Install your patch module
>refresh the modules list in technical section, or Settings
Install your new module, which name must be the folder name.
Please note I didn't test it, just wrote down, please note that I use 6.1 so may it not works as well in 7.0 or 8.0. if you have any problem, please comment the trouble. U can get more info about the system if you start the Erp with --debug key.
Check if you have is_template field in that model or that field doesn't exist.
Thankyou Abegail, the field is_template Not exist! What i have to do now?. How can i add that field in sales_order
I have installed Sales module with odoo-7.0 code. There is no "is_template" in sales_order table
Hello Samba,
I have face same issue and I solved out that.
Solutions:
You need check action of that model using below query.
select name,domain,id from ir_act_window where res_model='your.modelname';
Now update domain field value with remove unnecessary domain condition
update ir_act_window set domain='[new condition]' where id=Give id;
Hope above solution will be help
Best Thanks,
Ankit H Gandhi.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
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ýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 4 22
|
54 | ||
Please install python lib xlrd
Đã xử lý
|
|
2
thg 8 19
|
26249 | |
|
0
thg 3 15
|
3151 | ||
|
1
thg 3 15
|
8532 | ||
|
0
thg 3 15
|
4779 |
download and install this module, it will resolve that issue. quotation_template