Skip to Content
Menú
This question has been flagged

Hello. I am new in odoo, and I have a problem. 

When I enter a discount line in sales order form, the default OuM is m2. This is a UoM defined by me. But I don't know how it come to the Discount Product as Uom. 

In UoMs I have already deleted this unit "m2" and use another. But when I enter a discount it still puts this UoM. 

When I try to change it from product page of "Discount" it says this is already be used in journal, and if you want to change the UoM archive this and make another Discount. So I have copied this product, archived the old one and changed the name again to "Discount". But when I enter a discount in the sales order it still brings the old "discount" produkt with the m2 UoM. 

How can I change the product linked to this "discount" button in sales order form. 

Thank you in advance. 

Avatar
Descartar

I haven't seen a "Discount" button in standard Odoo. Is this customization or a Server Action? If so, maybe that is "hard-coded" to use the (old) Discount product.

Autor

At the end of the lines, right side. One can make a discount from the total Amount in percentage or in a fixed amount. When I select the fixed amount a produckt named "discount" from the products is entered as a line in the sales order. This product named "discount" is now come with a default UoM m2 (I think I changed it somehow, or I made it default somehow). Now I must change it, or link a new created"discount" product to this button. Thanks. 

Related Posts Respostes Vistes Activitat
2
d’oct. 24
1626
5
de des. 23
22288
0
d’abr. 22
2527
2
d’abr. 21
7760
1
de jul. 16
4537