← Back to team overview

credativ team mailing list archive

[Bug 918642] Re: Project and analytic account partner address label

 

Hi Kuldeep

what you say does not appear to be the case. The module that actually
creates the invoice is "hr_timesheet_invoice", and it does not use
contact_id. Instead, this module calls address_get(['invoice']) on the
partner directly (in
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py, line 85).

Can you point out where the contact_id is actually used?

Cheers,
Stefan.

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

Title:
  Project and analytic account partner address label

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hi,

  There is a field on project.project, with name 'contact_id'. The label
  on the project form (tab Billing) for this partner address is 'Invoice
  address'. Due to _inherit, this field also exists on the analytic
  account. Here it is called 'Contact'. The on_change method on the
  partner_id automatically selects the partner's address of type
  'contact' if it exists.

  The address selected here does not seem to affect the addresses on the
  generated invoices, as they select the invoice and contact addresses
  independent of this setting.

  We find it confusing that the address on the project is called
  'Invoice address' but the invoice address is not selected. Please
  change the label to reflect the type of address.

  Cheers,
  Stefan.

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


References