openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #00270
Re: Rent Module: Need advice
Le 29/03/2011 13:58, Luis Tobar Roncagliolo a écrit :
The situation have a lot of the particular details and questions before write some code.
For example, how do you take or obtains the product for rent? Is a single or compose?
Do you need to know the rent unit, weeks, months, years
We have simulated the rental control using standard v5.15, each month the salesman write the sale order, the sale products are stock control type, that mean that we need to recieve the same quantity from customer using a entry guide in stock manager
Example
1. Rent product is a rental_pos
2. rental_pos is. a POS + PinPad + codebar reader
3. All product are in stock control
4. Sale order of rental_pos reduce the components stocks and growth rental_pos.( Manufacture module)
5. The invoice produce the stocks movements stock->client
6. The recieve guide cause the inverse effect in stock.
7. The accounts effect depending on the accounts defined in products
Well is a bit little help i hope.
Regards
Luis Tobar
Thanks for your answer. Here is what is currently working in the module:
- Created a new Rent Order object (different from the Sale Order)
- In the header, you can choose the duration, which is global to all the
rent order.
- Rent prices are defined in products, using the 'Minimal rent unity'.
For example, if you rent things by days, months, or year, prices are
defined in days.
- You can choose the invoice interval: Only once invoice, Daily,
Monthly, etc, as you want (you can extend this in code easily).
- When the rent order is confirmed, you generate invoices accordingly :
if you rent products for 3 months, with a monthly invoicing, 3 invocies
are generated.
- You can add product which are invoiced only once, for example,
'Configuration of the rented products', which will be invoiced once in
the first invoice. These products must be of type 'Service'.
What I plan to add, from what everybody answered to this mail (and on irc) :
- On order confirmation, create 2 stock picking: One for Stock->Client
and an other for Client->Stock (with a effective date at the end of the
order). To do this, I will add a field 'Renting Location' in the partner
view, to let the user create a per-partner location if he wants. This
way, it's possible to excactly know which products is at the customer place.
Does that look ok?
--
Thibaut DIRLIK
Follow ups
References