跳至內容
選單
此問題已被標幟
1 回覆
943 瀏覽次數

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
1744
1
8月 25
351
2
7月 25
2803
3
7月 25
617
1
6月 25
1072