← Back to team overview

openerp-india team mailing list archive

[Bug 1048305] Re: hr_timesheet_invoice: Created invoice from bill task work ignore the default taxes.

 

** Branch linked: lp:openobject-addons

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

Title:
  hr_timesheet_invoice: Created invoice from  bill task work ignore the
  default taxes.

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Hello,

  When running "invoice task work", the generate invoice has no taxes if
  the product "Services on Timesheets" (6.1) or "Service on Demand"
  (trunk) has no taxes defined on it (which is the default). In such a
  situation the default taxes from the sales account should be proposed.

  This applies to 6.1 and trunk.

  How to reproduce:
  1. install module hr_timesheet_invoice
  2. create a project with to_invoice = Yes and set a customer on the analytic account
  3. create a timesheet line for that project
  4. run invoice task work -> the generated invoice has no tax

  This is because in
  hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py, the taxes
  are taken from the product only.

  The correct behaviour is found in account/account_invoice.py in
  product_id_change where it uses the taxes from the sales account if no
  taxes are defined on the product.

  Best regards,

  -sbi

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


References