[] Depreciation: Asset cannot be saved

25 views
Skip to first unread message

Christian Höhle

unread,
Dec 8, 2016, 7:15:06 PM12/8/16
to tryton
Hi all,

first of all, thank you so much for this great piece of software!
Besides other functions I'm trying to use tryton to do depreciation on assets. By trying that, I stumbled about different problems:

  1. I try to create an asset. First I need a product, but only a variant is accepted.

    Why do i have to go the way using a variant? Is there a reason for that loopway?

  2. So I add a Product "Machine" and a Variant "MachineVariant". Then, i try to search for it in asset dialogs product field, but it is not found there. So i use the "New" button and add another Variant "MachineVariant2" that is afterwards shown in the product field. If I search again, still no search results are shown. I have to add another variant to get something into the product field.

    Am I doing something in a wrong way here? How do I correctly specify the product?

  3. If I try to save the dataset, an error pops up saying 'The value of the field "Product" on "Asset" is not valid according to its domain'

Could you please help me to find out how to get it running?


Cheers,

Christian

Cédric Krier

unread,
Dec 8, 2016, 7:50:06 PM12/8/16
to tryton
On 2016-12-08 11:37, 'Christian Höhle' via tryton wrote:
> Hi all,
>
> first of all, thank you so much for this great piece of software!
> Besides other functions I'm trying to use tryton to do depreciation on
> assets. By trying that, I stumbled about different problems:
>
>
> 1. I try to create an asset. First I need a product, but only a variant
> is accepted.
>
> Why do i have to go the way using a variant? Is there a reason for that
> loopway?

Because this is the design chosen to support variants.

> 2. So I add a Product "Machine" and a Variant "MachineVariant". Then, i
> try to search for it in asset dialogs product field, but it is not found
> there. So i use the "New" button and add another Variant "MachineVariant2"
> that is afterwards shown in the product field. If I search again, still no
> search results are shown. I have to add another variant to get something
> into the product field.
>
> Am I doing something in a wrong way here? How do I correctly specify the
> product?

It must be an asset not a goods nor a service.
(Unfortunately the domain inversion does not work there).

> 3. If I try to save the dataset, an error pops up saying 'The value of
> the field "Product" on "Asset" is not valid according to its domain'

The Asset document check that you are depreciating an asset type
product.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages