|
@ -98,7 +98,6 @@ class ContactByController(http.Controller): |
|
|
email = link_data_split[0] |
|
|
email = link_data_split[0] |
|
|
contact_name = link_data_split[1] |
|
|
contact_name = link_data_split[1] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
partner = request.env['res.partner'].sudo().search([ |
|
|
partner = request.env['res.partner'].sudo().search([ |
|
|
('email', '=', email), |
|
|
('email', '=', email), |
|
|
('name', '=', contact_name) |
|
|
('name', '=', contact_name) |
|
@ -168,7 +167,6 @@ class FormReview(parent_controller.WebsiteForm): |
|
|
# if len(res_part_rec) == 0 and res_part_email: |
|
|
# if len(res_part_rec) == 0 and res_part_email: |
|
|
# print('Company change detected!') |
|
|
# print('Company change detected!') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
id_record = self.insert_record( |
|
|
id_record = self.insert_record( |
|
|
request, |
|
|
request, |
|
|
model_record, |
|
|
model_record, |
|
|