summaryrefslogtreecommitdiff
path: root/addons/account_tax_python
diff options
context:
space:
mode:
authorHetal Dhanak <hdh@odoo.com>2019-05-24 08:48:23 +0000
committerHetal Dhanak <hdh@odoo.com>2019-08-23 13:06:42 +0000
commit2f2ac551423ba5c746b7fedf0971a4ea25a04ab3 (patch)
tree91be281367327c59407f6f4b9dbe79fe5d6997c7 /addons/account_tax_python
parent71308383160c1d3f4be15880271d9cb1210740c3 (diff)
[IMP] stock: filter data for field 'product_id' in form view
of 'stock.production.lot' previously in the selection field 'product_id' of 'stock.production.lot', all the products were always visible no matter from where this view was getting opened from. which is not ideal because if a user is creating a new lot for a specific product, i.e. let's say if he opens this view from 'product.template', he must not be able to select a product variant other than of the product itself. after this commit, if a user opens form view of 'stock.production.lot' by clicking on the menu action, all the products will be visible. if he opens it from product.template, only variants of the given products will be visible. if he opens it from product.product, only that particular variant will be visible and it will be readonly because there are no other valid values. Task-1943397
Diffstat (limited to 'addons/account_tax_python')
0 files changed, 0 insertions, 0 deletions