summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2019-10-21 13:22:43 +0000
committerfw-bot <otis@odoo.com>2019-10-22 11:35:18 +0000
commit0aea55ab3d9266f5f93ee417d85643e3918f766e (patch)
tree9be7deecab080aea6657c858d913370132c01ea6 /addons/web/static/tests/fields/basic_fields_tests.js
parent7ef68e4b0e9c4ba3efed2b7625af8e379b4f1683 (diff)
[FIX] stock: fix delivery slip serial number creation
In deliveries slips, you can directly create a new serial number. If you have multiples companies, a field "company" appears. But if you have only one company, it doesn't appears and there is no default value for it. As the field is required, it returns an error "Company field required". Before this commit: - The company_id field in stock_production_lot model does not have a default value. After this commit: - The company_id field has a default value which is the user current company id. OPW-2083099 closes odoo/odoo#39170 X-original-commit: 7b6d87519d3ba50688f9f49442cc3814ee427816 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions