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

Thank you in advance.

We want to make the Purchase Order name automatically change when the purchase is Updated.


The new Purchase Order name should be changed to:

(1) the current Purchase Number (purchase.order) + (2) Vendor Name (partner_id)

E,g. P00082 -----> becomes P00082 Amex


What python expression should we put into Data to Write section for this automation to work?

Thanks

아바타
취소
작성자

Thanks for your help Niyas, I got it!!!!!!


베스트 답변

Hi,

You can add following python code:

record['name'] += '  ' + str(record.partner_id.name)

Thanks

아바타
취소
작성자

Thank you!!!! You are a life saver!