Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
974 Vues

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.

Avatar
Ignorer
Meilleure réponse



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. 

 

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
nov. 24
1776
1
août 25
373
2
juil. 25
2819
3
juil. 25
632
1
juin 25
1082