Contributors mailing list archives
Re: booking of resourcesby
thank you, pedro, olaf, and jairo, for your answers.
what we ended up doing is creating a module (
that adds a wizard that allows to select resources by category,
and create resource combinations on the fly. it is available in
while this solution works, it feels to me like a big
workaround. i realized too late into the development process
(our budget on this was too limited) that a better solution
would be to split the
resource_booking module into
multiple parts, because it handles too many independent things:
resource_bookingwould be the base module which defines the
resource.bookingmodel and allows to book resources directly (
resource.resource) and handle the availability of resources.
resource_booking_typewould depend on
resource_bookingand define the
resource_booking_combinationwould depend on
resource_booking_typeand define the
result in the same behavior as is currently the case with
in our case, we would depend only on
instead of creating useless combinations under the hood.
what do you think of this refactoring?
we also needed to be able to link a resource booking to a sale
module (which has not yet been migrated to 14.0) allows this but
works in the opposite way of what we needed: it allows to
schedule a booking from an existing sale order, while we wanted
to create a sale order from a scheduled booking.
we ended up creating a new module
that creates a sale order for each resource booking and displays
(and allows to edit) the sale order lines directly on the
resource booking form. it also allow to link a product to a
resource booking type and to a resource and generates the sale
order lines based on this. it is available here.
what do you think? reviews welcome.
for the module containing the wizard, we had to define a
model. we did it in another module (
adds several modules). it is a really simple addition (just a
resource.category model with a name and
relationship between it and
but i think that it should not belong in
i think that we are missing an
repository for modules handling resources.
what do you think?
coop it easy
booking of resourcesbyhugues
Re: booking of resourcesbyhugues
Re: booking of resourcesbyModuon Team, S. L., Jairo Llopis
Re: booking of resourcesbyelego Software Solutions GmbH, Olaf Wagner
Re: booking of resourcesbyTecnativa. S. L., Pedro M. Baeza