# How to add a new carrier to Selection

**URL:** https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918
**Category:** User
**Tags:** carrier
**Created:** [November 7, 2019, 3:50pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918 "2019-11-07T15:50:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)
#### Post date: [November 7, 2019, 3:50pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/1 "2019-11-07T15:50:47Z")

</div>

Hi,

How should I add a new carrier to a country selection?  
Splitting a single carrier able to ship to many countries means entering many lines (one by country), this is error prone. Is there a simpler way to proceed?

---

<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: [November 7, 2019, 8:40pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/2 "2019-11-07T20:40:17Z")

</div>

> [@jcm](#):
>
> Splitting a single carrier able to ship to many countries means entering many lines (one by country)

You do not need to split the carrier. You just fill carrier selections according to define the rules.  
But usually the same carrier party has different price for shipping to different countries. So usually you have to create one carrier per couple of countries.

> [@jcm](#):
>
> entering many lines (one by country), this is error prone

Why is it error prone? There is no information duplication.

---

<div class="post-metadata">

### Author: ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)
#### Post date: [November 7, 2019, 9:01pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/3 "2019-11-07T21:01:25Z")

</div>

Sorry if I am not clear. I have some postal services that can ship to dozens of countries. Conditions change. I need to create a second carrier with different price. So I need to fill in dozens of selections, so that this new carrier can be selected as a shipping service for the dozens of countries.  
My question is: is there a way to duplicate or copy many lines in such a case?

---

<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: [November 7, 2019, 9:12pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/4 "2019-11-07T21:12:59Z")

</div>

> [@jcm](#):
>
> is there a way to duplicate or copy many lines in such a case?

You can use the client “duplicate” tool with many records selected but they will be exact copy of the original. Then you will have to change the carrier of each of those new selection records.

---

<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: [November 7, 2019, 11:02pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/5 "2019-11-07T23:02:15Z")

</div>

Maybe we could add a One2Many on carrier to list the selections (without the sequence order). This way duplicate the carrier will duplicate the selections also.

---

<div class="post-metadata">

### Author: ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)
#### Post date: [November 12, 2019, 4:54pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/6 "2019-11-12T16:54:22Z")

</div>

This would be a great help in dealing with ecommerce carrier services (many services, many countries).

---

<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: [November 13, 2019, 3:52pm UTC](https://discuss.tryton.org/t/how-to-add-a-new-carrier-to-selection/1918/7 "2019-11-13T15:52:57Z")

</div>

I created [Add selections One2Many on carrier (#8817) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue8817)
