On 24/06/12 10:04 -0700, TPH wrote: > Hallo > > I have big problem with inventory on tryton 2.4, I also tested this with > old database backup direcly after changing from 2.0 to 2.4 four days ago. > > Inventory is no longer working, I can add new line but no product is found. > > If I press "Complete Inventory" I only get this error message "The value of > the field "Product" on "Stock Inventory Line" is not valid according to its > domain." > > Also try to duplicate any old inventory raises this error.
There are just 2 constraints on product for inventory lines:
- type must be "goods"
- consumable must be False
And an implicite which is:
- must be active
As far as I see in the code, it could be that you deactivate a product
that still have quantities in the location (but I'm not sure because
normally it should work).
If you did not have customize trytond, you should fill an issue for that
on http://bugs.tryton.org/.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/
pgpKDSVME6uuA.pgp
Description: PGP signature
