← Back to team overview

openerp-india team mailing list archive

[Bug 1048305] Re: hr_timesheet_invoice: bill task work generates invoice without taxes

 

Hello Amit,

Indeed when the tax is set on the product it works.

However, when you create an invoice manually and select a product
without taxes, the default tax from the account is proposed.

I believe the same behaviour is desirable in Bill Tasks Work because the
tax field on product is not a property hence not multi-company aware.

If you try for instance to set a tax on the "Services On Timesheet"
product, you can't get the correct tax when running Bill Tasks Work for
projects of different companies.

Best regards,

-sbi

-- 
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: bill task work generates invoice without taxes

Status in OpenERP Addons (modules):
  Incomplete

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