Hello Josse, This is really too restrictive and I see no good reason to enforce this.
While it is indeed known to be safer to change the company in preferences, everywhere in OpenERP you can work for different companies without changing the preferences. There are bugs here and there (such as this one) that are progressively being resolved, but there is no reason to oblige the user to change company in his preferences. 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/1068038 Title: hr_expense: generated invoice may use wrong accounts in a multi- company context Status in OpenERP Addons (modules): Confirmed Bug description: Hello, When generating invoices from expenses, the invoice sometimes uses wrong accounts when the use generating the expense is from another company than the expense's company. I reproduced with 6.1, but it probably applies to trunk too since the code has not changed. How to reproduce: - create 2 companies A and B - create an expense for an employee of company B - approve and invoice the expense with the user where company preference is set to A - result: the invoice is created for company B (correct), but using accounts (payable, expense) from company A (wrong) - expected result: the invoice should be with accounts of company A I link a merge proposal. Best regards, -sbi To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1068038/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

