diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-05-08 10:57:53 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-05-09 11:25:39 +0200 |
| commit | b793e23ae53b5f1edab8c98bbed7ac5f5f921280 (patch) | |
| tree | 799f24e007dfa2a6cd4fc8f5460baf83fc9adaca /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 665fcb62cfc0231125fc5d0815668b945e2a8d0d (diff) | |
[FIX] stock: incorrect PO sequence
- Create 2 companies A & B
- Create a sequence for PO in each company
- Set User A in Company A and Admin in Company B
- Create a MTO product with a 'Buy' route
- Create a SO with User A using the product, validate
The PO created uses the sequence for Company B instead of Company A.
The creation is done as `sudo`, and ultimately `next_by_code` will use
the company of the Admin.
opw-1839656
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
