Skip to Content
Menu
This question has been flagged
6 Replies
17599 Views

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.

Avatar
Discard

download and install this module, it will resolve that issue. quotation_template

Best Answer

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.

 

 

Avatar
Discard
Best Answer

Check if you have is_template field in that model or that field doesn't exist.

Avatar
Discard
Author

Thankyou Abegail, the field is_template Not exist! What i have to do now?. How can i add that field in sales_order

Author

I have installed Sales module with odoo-7.0 code. There is no "is_template" in sales_order table

Best Answer

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.

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 22
54
2
Aug 19
25450
0
Mar 15
2681
1
Mar 15
7558
0
Mar 15
3984