콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2001 화면

I try to create automated action, to update my mass mailing (email marketing) contact, so it will populate the mailing list automatically when it is blank. I created the below python code, but it is not working. Can you help to help what is wrong and what is the recommended python code to do this?

nama2 = env['mass.mailing_list.contact'].search([])
for record in nama2:
  record.write({'list_ids': mass_mailing.mass_mail_list_1})


thanks

아바타
취소