# How to post lines from sales to subscription?

**URL:** https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672
**Category:** User
**Tags:** sales
**Created:** [May 2, 2020, 11:55am UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672 "2020-05-02T11:55:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![schokjohn](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@schokjohn](https://discuss.tryton.org/u/schokjohn)
#### Post date: [May 2, 2020, 11:55am UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/1 "2020-05-02T11:55:10Z")

</div>

Hi community,  
Im using sales and i dont know to how to post lines from sales to subscription to rent my products that i quoted on sales…

Thanks

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [May 2, 2020, 12:06pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/2 "2020-05-02T12:06:17Z")

</div>

IIRC you cannot.

A subscription is apart of sales workflow.

Subscription module is used to automatically schedule consumptions of services and invoices of this consumptions.

I think that in your case a valid workflow (at least for me) would be to use the sale to manage it for the first time of that sale and once approved and invoiced create a new subscription to automatically scheduled the rest of consumptions and invoices the rest of life of the contract.

---

<div class="post-metadata">

### Author: ![schokjohn](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@schokjohn](https://discuss.tryton.org/u/schokjohn)
#### Post date: [May 2, 2020, 12:24pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/3 "2020-05-02T12:24:22Z")

</div>

Hi @josesalvador and thanksm but That is bad because subscription depends from sales but likewise if i use sales and later invoice and later subscription that is a manual process how to control duplication invoice?

---

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [May 2, 2020, 12:28pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/4 "2020-05-02T12:28:13Z")

</div>

I suggest you that the first invoice comes from the sales workflow in order to manage the sale.

After that, the second and above invoices can be generated from a subscription not sale.

---

<div class="post-metadata">

### Author: ![schokjohn](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@schokjohn](https://discuss.tryton.org/u/schokjohn)
#### Post date: [May 2, 2020, 12:45pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/5 "2020-05-02T12:45:14Z")

</div>

that ll be terrible, to have two parallel process when maybe is possible to only one workflow when beginning on sales, later sales to invoice and these lines post them to subscription on same action.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [May 2, 2020, 1:41pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/6 "2020-05-02T13:41:27Z")

</div>

Subscription can not be managed by sale because it is a completely different workflow. A subscription requires a start date and optionally an end date which are not available on sale. Also it needs to create an invoice for each period etc.  
I strongly unadvise to use sale at all for rental. Just use the subscription module.

---

<div class="post-metadata">

### Author: ![schokjohn](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@schokjohn](https://discuss.tryton.org/u/schokjohn)
#### Post date: [May 8, 2020, 3:15pm UTC](https://discuss.tryton.org/t/how-to-post-lines-from-sales-to-subscription/2672/7 "2020-05-08T15:15:53Z")

</div>

Hi,

Just an additional question.

how to can to post party name and party invoice address from sale to subscription when click confirm or process button on sale?
