← Back to team overview

openerp-india team mailing list archive

[Bug 942456] Re: Order with service product give wrong orderstate when invoice is made and paid.

 

Hello,

I've found several reports of this bug :
https://bugs.launchpad.net/openobject-addons/+bug/663237
https://bugs.launchpad.net/openobject-addons/+bug/785622

All of these reports are quite old, but I'm experiencing the same
problem (on OpenERP 6.1).

What I understand is that if I want to sell services, I must install project_mrp module.
This has no sense to me and I don't understand why it is not allowed on procurement module.
I don't want to have install project_mrp and then have to click on  'start task' and then 'done'  for every task of every sale order I make.

So I think the answer to that problem is this simple method from procurement module :
    def check_produce_service(self, cr, uid, procurement, context=None):
        return False
I don't understand the reason of that "return False", but a "return True" seems really better to me, and makes the procurement work as expected

patch attached

** Patch added: "procurement_check_produce_service.diff"
   https://bugs.launchpad.net/openobject-addons/+bug/942456/+attachment/3800995/+files/procurement_check_produce_service.diff

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/942456

Title:
  Order with service product give wrong orderstate when invoice is made
  and paid.

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  parent branch: http://bazaar.launchpad.net/~openerp/openobject-
  addons/6.0/ Revno : 5098

  Take demodatabase / accounting + sales

  Order with only a service product !

  Create new order / select product "empl" 1 hour 
  Confirm
  Create invoice
  Pay invoice
  Check state of the order -> still in progress

  This state should be 'Done'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/942456/+subscriptions


References