[sale] [stock] Invoicing services using shipping policy different than "Manual invoice"

Bug #495072 reported by hbto [Vauxoo] http://www.vauxoo.com
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 2

Bug Description

Invoicing services using shipping policy "invoice from the packing"
Whenever invoicing services without products, and using shipping policy: "invoice from the packing" - you are not able to invoice the services, because obviously, services are nonstockable items so those services don't generate packing orders therefore you are not able to generate invoices

To Replicate this behaviour do the following,

Have an nonstockable item (service) in your product list,
Have a customer to make a New Quotation,
Go to Sale Management
Prepare a New Quotation with customer and add the service,
Make sure shipping policy "invoice from the packing" is been selected
Save & Confirm Order

Go to Stock Management / Outgoing Products
No Packing is shown in the Packing referring to the newly create Sale Order because services are nonstockable items

Go to Financial Management / Invoice / Customer Invoices
No Draft Invoice is been shown because no packing was invoiced

No Way to invoice the service using "invoice from the packing" while there are only services in the Sale Order

I have two proposal to solve this problem

Proposal One
Validate the existence of services in the quotation and avoid to proceed with the packing while there are only services in the lines of the quotation, whenever the shipping policy is set to "invoice from the packing"

Proposal Two
Validate the existence of services in the quotation and while there are only services in the lines generate the draft invoice without going through the picking process

There could be a third proposal, be aware to select the right shipping policy when invoicing only services, leaving the duty to salespeople

Tags: sale stock
Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Hi,

I may be missing something, and in this case, feel free to re-open this bug. But from my point of view, if you make a SO with service product, you won't invoice them from packing => cause there is no reason to have a packing list on service product.

So if you choose services products you want to invoice, you need to use the "create invoice" button of the SO (set the SO as "Manual invoice" or "Invoice on Order After Delivery") or the "Final invoice" wizard to do it.

Regards,

Changed in openobject-addons:
status: New → Invalid
importance: Undecided → Low
Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote : Re: [Bug 495072] Re: [sale] [stock] Invoicing services using shipping policy

I'm with you, that's why I propose a third way, that match yours,
but this should be a validation to the module in a way that there should
not be possible mistakes made
by human because of the allowance to do it, I mean, to allow make
quotation of services when the shipping policy is "invoice the packing",
avoiding doing so would free many people from headaches, and workarounds
and reworks,

Thanks for taking time to answer my bug submission

Joël Grand-Guillaume @ CampToCamp wrote:
> Hi,
>
>
> I may be missing something, and in this case, feel free to re-open this bug. But from my point of view, if you make a SO with service product, you won't invoice them from packing => cause there is no reason to have a packing list on service product.
>
> So if you choose services products you want to invoice, you need to use
> the "create invoice" button of the SO (set the SO as "Manual invoice" or
> "Invoice on Order After Delivery") or the "Final invoice" wizard to do
> it.
>
> Regards,
>
>
> ** Changed in: openobject-addons
> Status: New => Invalid
>
> ** Changed in: openobject-addons
> Importance: Undecided => Low
>
>

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote : Re: [sale] [stock] Invoicing services using shipping policy

I'm with you, that's why I propose a third way, that match yours,
but this should be a validation to the module in a way that there should not be possible mistakes made
by human because of the allowance to do it, I mean, to allow make quotation of services when the shipping policy is "invoice the packing", avoiding doing so would free many people from headaches, and workarounds and reworks,

Thanks for taking time to answer my bug submission

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :

I'd like to reopen this bug because it seems to me that this matter deserve some more discussions,
The bug deals with the way how openerp treats services when using shipping policies different than that of "Manual invoice",

Thanks for your comments

Changed in openobject-addons:
status: Invalid → New
summary: - [sale] [stock] Invoicing services using shipping policy
+ [sale] [stock] Invoicing services using shipping policy different than
+ "Manual invoice"
Revision history for this message
Ana Juaristi Olalde (ajuaristio) wrote :

There is a problem related to this way of invoicing. Imagine on your sales order you include stockable products and non stockable products (for instance shipping cost)
Set the order as invoice from packing, because you need invoicing real packaged products or invoice several packages.

Now... your shipping cost line stays always on sales order. You have to include it manually on invoice. It's more... you can't include this service as packing list cost because packing list lines are stock moves. So... the only way I found to include shipping lines on packing, is setting them as consumable (wich conceptually is totally incorrect, but it works). Stock of shipping cost is not relevant. It's always negative and it should not be taking in count to calculate warehouse value.

So... this is the "solution" I found to invoice services from packing, convert services on consumables. If it can be usefull.

Maybe, the correct way would be invoicing from packing real stock moves and including on generated invoice all services products included on orders related to invoiced packings, I think. But this point should be discussed on the related expert group.

Thank you!!

Ana

Revision history for this message
jugglefish (pniederlag) wrote :

If you use the service(?) and timesheet(?) module as pointed out in the openerp book the order will create a project/task and the service can then be invoiced from the produced amount of service.

Changed in openobject-addons:
status: New → Triaged
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Low → Wishlist
status: Triaged → Confirmed
Revision history for this message
Quentin THEURET @Amaris (qtheuret) wrote :

What is the status of this bug because the problem is always here in 6.0 branch. (Not test in trunk branch)

Revision history for this message
Ferdinand (office-chricar) wrote :

please can some comment on this as it is also in 6.1 and causing lot of troubles here

Revision history for this message
Ferdinand (office-chricar) wrote :
Revision history for this message
Els Van Vossel (Foxy) (els-vanvossel) wrote :

Hello all,

I totally agree that there should be a change in the behaviour. Proposal one would already be a step in the good direction.

However, I would prefer a more permanent solution:
as Ana says:
"Maybe, the correct way would be invoicing from packing real stock moves and including on generated invoice all services products included on orders related to invoiced packings, I think. "

Regards,

Els

Revision history for this message
Ferdinand (office-chricar) wrote :

that's exactly what the module mentioned in #9 does
it adds the services to the invoice generated based on pickings.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.