El 01/09/15 a les 17:17, Cédric Krier ha escrit:
Hi,
I'm looking for a way to put expenses (purchases) into the cost of a
project.
The usual way I have seen in similar software is to use analytic account
but I think it is not the correct way for 2 reasons:
- analytic accounting almost always misses the employee cost
(because it is too much work)
- analytic accounting is a normally tool design to allow users to
create its own/custom accounting view (not for developers)
So for now, the project_revenue module computes a theoretical revenue
(list price * effort) and a cost (timesheet * employee cost).
It is only missing the expenses to get the complete picture of the
profitability of a project/task. If we use the project_invoice module to
know the real/invoiced revenue.
So my proposal is to add on project_revenue an extra_depends on purchase
which will add a many2one field on purchase line to a project (with
possibility to add line to project later via a one2many on it).
With this link we could include the invoiced amount of those purchase
line to the cost of the project.
Of course some could say that sometimes a purchase line is linked to 2
projects. I think it is a very rare case that could be solved by
splitting the line in two.
So what do you think?
It sounds good.
A remark: In my experience, a lot of projects like technical ones have
travel expenses like transport, hotel, restaurant, ... They usually are
introduced in the ERP like supplier invoices, it is not worth create
purchases for this kind of expenses because they don't create shipments.
Your proposal will force to introduce them like purchases. So, maybe is
better create a relation between supplier invoice lines to projects?
--
Jordi Esteve
Consultor Zikzakmedia SL
[email protected]
Mòbil 679 170 693
Zikzakmedia SL
St. Jaume, 9, baixos, 2a
08720 Vilafranca del Penedès
Tel 93 890 2108