← Back to team overview

openerp-india team mailing list archive

[Bug 1227764] Re: subscription module generating customer invoice error on partner type

 

OK after deep looking, invoices are in the good place : customer
invoice.

It's only a view & domain matter when you come from the subscription
module, and wanna look the invoice related to the subscription: shows
the invoice with "supplier: YouClientYouAreInvoicing"

Looked in the code i found both 'doc_source' (class
subscription_subscription) & 'document_id' (class
subscription_subscription_history) selection=_get_document_types

def _get_document_types(self, cr, uid, context=None):
    cr.execute('select m.model, s.name from subscription_document s, ir_model m WHERE s.model = m.id order by s.name')
    return cr.fetchall()

-- 
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/1227764

Title:
  subscription module generating customer invoice error on partner type

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi.

  I'm reporting an error on module subscription: when generating a
  customer invoice, partner type still remains on supplier, even if the
  partner_id field value is correct, and is a customer.

  So in final, on the customer invoice is written "Supplier: MyClient1".

  Not so good when running in prod environment.

  version is openerp v7 last review running on windows 8.

  Thanks.

  Jérémie.

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


References