openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24352
[Bug 1067541] Re: bill task work selects wrong receivable account in multi-company context
** Branch linked: lp:~lmi/ocb-addons/7.0-bug1067541
--
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/1067541
Title:
bill task work selects wrong receivable account in multi-company
context
Status in OpenERP Community Backports (Addons):
New
Status in OpenERP Addons (modules):
Confirmed
Bug description:
Hello,
When running Bill Task Work, it is possible to create an invoice where
the partner account (field account_id) is from a different company
than the invoice.
This one applies to 6.1 and trunk.
It is a variant of lp:1047826.
How to reproduce:
1. install trunk and accounting module and hr_timesheet_invoice module
2. create 2 companies A and B with diferrent charts of account
3. create a 3rd company M as partent of A and B
4. set set user preferences to company M
5. create a partner
6. create an analytic account named Project1 for company A with invoice factor = 100%
7. create timesheets on Project1
8. run bill task work
9. you get a draft invoice for company A (the account's company), this is correct
10. if you click on the receivable account to see the details, you see it is the receivable account of company M -> this is not correct.
I'll attach a merge proposal.
-sbi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1067541/+subscriptions
References