Add One2Many lead times to product template
The One2Many can be used by the MultiValue field to speed up computation. Closes #12133
This commit is contained in:
1 parent
721ae8dc69
commit
dd8dc0d414
1 file changed
+2
@@ -58,6 +58,8 @@ class Template(metaclass=PoolMeta):
|
||||
help="The time from confirming the sales order to sending the "
|
||||
"products.\n"
|
||||
"If empty the default lead time from the configuration is used."))
|
||||
lead_times = fields.One2Many(
|
||||
'product.lead_time', 'template', "Lead Times")
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
|
||||
Reference in new issue
Block a user