You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the reason behind this? Why they can remain empty?
This is very harmful for several reasons:
You don't explicitly set no company, so in a multi-company environment, this breaks sales orders in several companies that are not from the admin company. This can be fixed any way setting the extra value 'company_id': False.
If lines have different uom, you will get errors on some computed fields and reports.
The reason is that product_id is required on the sale order line in 9.0. Leaving it out causes all kinds of problems. But you are right, that a more advanced setup with multiple products and the correct company setting can be required in some cases.
@StefanRijnhart in the commit 85f767c, you add a method for setting a dummy product in all sale lines without product (method link: 85f767c#diff-daefd2062eec09f4b6a6f29c1233b276R38).
What is the reason behind this? Why they can remain empty?
This is very harmful for several reasons:
'company_id': False
.cc @Tecnativa
The text was updated successfully, but these errors were encountered: