diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-02-13 12:40:52 +0530 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-02-13 15:07:45 +0530 |
| commit | 20e3f33ebd861909d78f38b9bfa0f08f19475c93 (patch) | |
| tree | f993f11e3b2818f888c44d7123f025e7256d9b06 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | c62be6167a79e1d581aea2d2ad9fd53fbb70b43d (diff) | |
[FIX] purchase: get supplier from the procurement company
The seller_id field is a related that is read administrator so it would fetch
the first line, whatever the company specified.
Setting related_sudo=False would not be enough as creating purchase orders
through the scheduler makes the computation done as administrator.
Use the company of the procurement (required) to search for a supplier.
If no result, fallback on the first one as before.
Fixes #3833, opw 618809
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
