# Unable to enter a cost price

**URL:** <https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118>\
**Category:** User\
**Tags:** stock\
**Created:** [February 6, 2019, 4:29pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118 "2019-02-06T16:29:35Z")\
**Posts on this page:** 8\
**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:** [February 6, 2019, 4:29pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/1 "2019-02-06T16:29:35Z")

</div>

I try to enter cost\_price for products but I get the error message:  
You cannot change the cost price for a product which is associated to stock moves.  
You must use the "Update Cost Price" wizard.

How can I enter the cost price for products that I have already in stock at the begining of the period? (I imagine that products that are purchased will have their cost price computed from teh pruchase invoice).

---

<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:** [February 6, 2019, 4:53pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/2 "2019-02-06T16:53:18Z")

</div>

> [@jcm](#):
>
> How can I enter the cost price for products that I have already in stock at the begining of the period?

What do you mean? What period are you talking about?  
Why do not you use the wizard as the error message said?

---

<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:** [February 6, 2019, 4:54pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/3 "2019-02-06T16:54:44Z")

</div>

Using the wiazrd raises an alert with the same message…

---

<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:** [February 6, 2019, 5:03pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/4 "2019-02-06T17:03:11Z")

</div>

I tried and I do not have any error message.  
There is just a know issue between this wizard and the re-computation of the cost price: [Conflict between wizards "wizard\_recompute\_cost\_price" and "wizard\_update\_cost\_price" (#7273) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue7273)

---

<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:** [February 6, 2019, 5:09pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/5 "2019-02-06T17:09:28Z")

</div>

Here is my error. I used the action “Recompute cost price” on the Product. I was not able to find an “Update cost price” wizard anywhere ;/  
Could you please point me to it?

---

<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:** [February 6, 2019, 5:11pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/6 "2019-02-06T17:11:48Z")

</div>

It is only available on variants.

---

<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:** [February 6, 2019, 5:15pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/7 "2019-02-06T17:15:24Z")

</div>

Thks, It works. Sorry for the noise.  
I searched the action with the top left search box but without any result.

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [March 8, 2019, 5:15pm UTC](https://discuss.tryton.org/t/unable-to-enter-a-cost-price/1118/8 "2019-03-08T17:15:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
