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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
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.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|  | 0 abr. 22  | 54 | ||
| 
            
                Please install python lib xlrd
            
            
                    Resolvido
            
         |  | 2 ago. 19  | 26932 | |
|  | 0 mar. 15  | 3815 | ||
|  | 1 mar. 15  | 9175 | ||
|  | 0 mar. 15  | 5278 | 
 
                        
download and install this module, it will resolve that issue. quotation_template