Somesh Khare(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-577036-skh into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577036-skh/+merge/119305
Hello Sir,
[Fix]: When you invoice your time-sheet lines, the generated invoice line
contains the analytic account, due to which the amount does double into the
Analytic entries analysis report.
Steps:
1. I make a project from "Sales/Sales/Contracts".
2. Connect project to customer and set "Invoice on Timesheet & Costs" 100%.
3. Go-to HR – Timesheet lines and Create a timesheet line of 20 hours on this
project
4. Go-to "Sales/Invoicing/All Uninvoiced Entries" select the line and Crate
Invoice from the wizard.
6. I confirm and validate this invoice
7. Go-to "Accounting/Reporting/Statistic Reports/Analytic Entries Analysis" the
quantity = 40 and NOT 20 and the amount is not 20x30=600, but it is 900.
This is due to the analytic account set on the invoice. I have set the analytic
account as False at the time invoice line creation. Please review the branch
and share your views.
Thanks & Regards,
Somesh Khare
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577036-skh/+merge/119305
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-577036-skh.
=== modified file 'hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py'
--- hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py 2011-11-16 14:59:58 +0000
+++ hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py 2012-08-13 06:59:19 +0000
@@ -141,7 +141,7 @@
'invoice_line_tax_id': [(6,0,tax)],
'uos_id': uom,
'account_id': account_id,
- 'account_analytic_id': account.id,
+ 'account_analytic_id': False,
}
#
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp