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

Hi all,

I am developing REST APIs for creating subscriptions in odoo 18 as well as sales orders in odoo. When creating both subscription and sales order simutaneously I am facing trouble to identify which is subscription and which is sales order since both are using same 'sale.order' module. Is there any possible way to use seperate names without giving a specific name when creating subscription and sales order? For example I need to give subscription name as "SUB0001"(with the number increment by 1 each time when  I am creating a subscription) and remain sales order name as the default name.

아바타
취소
베스트 답변



Try enabling the subscription_status field or any other field related to the subscription model, that way you can identify the sale order and subscription sale order. 

 

아바타
취소
관련 게시물 답글 화면 활동
1
11월 24
1971
1
8월 25
368
1
8월 25
631
2
7월 25
3120
3
7월 25
789