# Set a default From/To Location and Production Location on BOMs

**URL:** https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105
**Category:** Ideas
**Created:** [March 19, 2024, 8:39pm UTC](https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105 "2024-03-19T20:39:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jmn](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jmn/32/2904_2.png) [@jmn](https://discuss.tryton.org/u/jmn)
#### Post date: [March 19, 2024, 8:39pm UTC](https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105/1 "2024-03-19T20:39:15Z")

</div>

One of our customer manage a lot of BOMs and a lot of Productions.

When he set a Production, he have to set, respectively, the `From Location` and the `To Location` for each `Input` and `Output` lines.

(In french, he said “C’est chiant parce que je prends souvent les mêmes ingrédients aux mêmes emplacements…” 🙂 )

Is it easy (and pertinent) to add a default `Location` field on each Input/Ouput lines of BOM model?

---

<div class="post-metadata">

### Author: ![jmn](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jmn/32/2904_2.png) [@jmn](https://discuss.tryton.org/u/jmn)
#### Post date: [March 19, 2024, 8:48pm UTC](https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105/2 "2024-03-19T20:48:23Z")

</div>

… then, if the `Location` field on an Input/Ouput line of a BOM is niot set, the default Location is set by the Warehouse default `Production Picking` and `Production Output` parameters.

Isn’t it?

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/b/ba565597722366e9658b324f97ec04538fd3e925.png)

---

<div class="post-metadata">

### Author: ![jmn](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jmn/32/2904_2.png) [@jmn](https://discuss.tryton.org/u/jmn)
#### Post date: [March 19, 2024, 9:23pm UTC](https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105/3 "2024-03-19T21:23:04Z")

</div>

… and I think it be will be cool if we can set, on a BOM, a new default production Location field, in order to relieve our customers of having to (re)enter it each time they record a production.

My two cents 🙂

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/6/654b818d07f335a6a271c8e6690e4ce56b1cadcf.png)

---

<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: [March 19, 2024, 11:10pm UTC](https://discuss.tryton.org/t/set-a-default-from-to-location-and-production-location-on-boms/7105/4 "2024-03-19T23:10:53Z")

</div>

Normally the input is selected by the system on assignation and the output can be configured as default with [_Stock Product Location_](https://docs.tryton.org/latest/modules-stock-product-location/index.html).
