diff options
| author | Stéphane Bidoul <stephane.bidoul@acsone.eu> | 2016-02-23 17:05:37 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-02-23 17:25:42 +0100 |
| commit | 4162b8f5fa31cd76fa79c7e810f49b38733a16d4 (patch) | |
| tree | 9e970b84272efe006d8d03235658ff4b57451af5 /doc | |
| parent | 68f9f99ed3b8434f7ba621479bce215dce05bdc2 (diff) | |
[FIX] account: fiscal position in multi-company environments
Properties depends on with which companies the records
are browsed.
When retrieving the fiscal position as sudo,
the company must therefore be enforced within the context,
to make sure to get the properties from the right
company.
This method can totally be accessed as sudo,
within the crons for instance.
Before this revision, the recurring invoices cron
could retrieve properties from the wrong company,
and therefore retrieve the fiscal position of another
company.
Closes #11039
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
