Adding assets management to Tryton

125 views
Skip to first unread message

Cédric Krier

unread,
Jan 24, 2012, 11:46:05 AM1/24/12
to tryton
Hi,

We are discussing here about adding assets management to Tryton.

The idea is that assets and expense should be defined by the product
object also because being able to reuse purchase/shipment/invoice
workflow is a great advantage.

The main difference between a product and an asset will be that asset
doesn't create stock accounting move.

To achieve this goal, I think we should change the product type by this
new one:

- Service (this will also include expenses)
- Good
- Asset

and adding a check box (cosumable) for goods that will prevent assignation check.

We will have this migration schema:

Service -> Service
Stockable -> Good
Cosumable -> Good + consumable check box.

And only "good" type will generate stock accounting in the modules
account_stock*.

The product for assets and expenses will be similar to "Asset class" or
"Expense type" so it will not require to create a product for every
specific assets or expenses.
So common expenses will be:

- Flights
- Fuel
- Hostel

common assets will be:

- Building
- Cars

Later, I will write a blueprint for amortization of assets.

Comments are welcome.
--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

Okko Huisman

unread,
Jan 27, 2012, 5:08:28 AM1/27/12
to try...@googlegroups.com
I propose to add an 's' to the type as 'Good' can be confusing.

- Services
- Goods
- Assets

Albert Cervera i Areny

unread,
Jan 27, 2012, 5:23:38 AM1/27/12
to try...@googlegroups.com

A Dimarts, 24 de gener de 2012 17:46:05, C�dric Krier va escriure:

I like the proposal, including the change in consumable type to a checkbox.


--

Albert Cervera i Areny

http://www.NaN-tic.com

Tel: +34 93 553 18 03


http://twitter.com/albertnan

http://www.nan-tic.com/blog

Cédric Krier

unread,
Feb 27, 2012, 10:29:07 AM2/27/12
to try...@googlegroups.com
On 27/01/12 02:08 -0800, Okko Huisman wrote:
> I propose to add an 's' to the type as 'Good' can be confusing.
>
> - Services

I think I will prefer to keep "Service".

> - Goods
> - Assets

Agree.

Cédric Krier

unread,
Feb 28, 2012, 6:01:08 AM2/28/12
to tryton
On 24/01/12 17:46 +0100, Cédric Krier wrote:
> Hi,
>
> We are discussing here about adding assets management to Tryton.
>
> The idea is that assets and expense should be defined by the product
> object also because being able to reuse purchase/shipment/invoice
> workflow is a great advantage.
>
> The main difference between a product and an asset will be that asset
> doesn't create stock accounting move.
>
> To achieve this goal, I think we should change the product type by this
> new one:
>
> - Service (this will also include expenses)
> - Good
> - Asset
>
> and adding a check box (cosumable) for goods that will prevent assignation check.
>
> We will have this migration schema:
>
> Service -> Service
> Stockable -> Good
> Cosumable -> Good + consumable check box.
>
> And only "good" type will generate stock accounting in the modules
> account_stock*.

The patch is there http://codereview.tryton.org/260001/

Cédric Krier

unread,
Mar 16, 2012, 7:50:38 AM3/16/12
to tryton
On 28/02/12 12:01 +0100, Cédric Krier wrote:
> On 24/01/12 17:46 +0100, Cédric Krier wrote:
> > Hi,
> >
> > We are discussing here about adding assets management to Tryton.
> >
> > The idea is that assets and expense should be defined by the product
> > object also because being able to reuse purchase/shipment/invoice
> > workflow is a great advantage.
> >
> > The main difference between a product and an asset will be that asset
> > doesn't create stock accounting move.
> >
> > To achieve this goal, I think we should change the product type by this
> > new one:
> >
> > - Service (this will also include expenses)
> > - Good
> > - Asset
> >
> > and adding a check box (cosumable) for goods that will prevent assignation check.
> >
> > We will have this migration schema:
> >
> > Service -> Service
> > Stockable -> Good
> > Cosumable -> Good + consumable check box.
> >
> > And only "good" type will generate stock accounting in the modules
> > account_stock*.
>
> The patch is there http://codereview.tryton.org/260001/

The patch is in trunk.

Reply all
Reply to author
Forward
0 new messages