|
|
@ -1,5 +1,6 @@ |
|
|
|
from odoo import api, fields, models, _ |
|
|
|
from odoo.exceptions import UserError |
|
|
|
#from odoo.exceptions import UserError |
|
|
|
|
|
|
|
|
|
|
|
class SearchLine(models.Model): |
|
|
|
_name = "search.line" |
|
|
@ -83,4 +84,4 @@ class ItisDpoView(models.Model): |
|
|
|
final_list.append(founded_json) |
|
|
|
if final_list: |
|
|
|
for vals in final_list: |
|
|
|
create_id = self.env['search.line'].create(vals) |
|
|
|
create_id = self.env['search.line'].create(vals) |