mirror of
https://github.com/NaN-tic/trytond-production_route.git
synced 2023-12-14 03:12:59 +01:00
If route is removed, field in product should be set null.
This commit is contained in:
parent
6da14b6d97
commit
170d899b88
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class ProductBom(ModelSQL, ModelView):
|
|||
__name__ = 'product.product-production.bom'
|
||||
|
||||
# TODO: Add domain filter
|
||||
route = fields.Many2One('production.route', 'Route')
|
||||
route = fields.Many2One('production.route', 'Route', ondelete='SET NULL')
|
||||
#domain=[
|
||||
# ('uom', '=', Get(Eval('_parent_product', {}), 'default_uom', 0)),
|
||||
# ], depends=['product']
|
||||
|
|
Loading…
Reference in a new issue