Browse Source

[Fix] flake8: remove unnecessary lines

pull/35/head
ITISAG-Git 5 years ago
parent
commit
d1296c7c40
  1. 2
      website_contact_extend/controllers/contactby.py

2
website_contact_extend/controllers/contactby.py

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

Loading…
Cancel
Save