mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add patch for issue4093
This commit is contained in:
parent
8866502dd2
commit
c923e4687e
18
issue7461002_1.diff
Normal file
18
issue7461002_1.diff
Normal file
|
@ -0,0 +1,18 @@
|
|||
Index: trytond/trytond/modules/project_plan/allocation.py
|
||||
===================================================================
|
||||
|
||||
--- a/trytond/trytond/modules/project_plan/allocation.py
|
||||
+++ b/trytond/trytond/modules/project_plan/allocation.py
|
||||
@@ -11,9 +11,9 @@
|
||||
__name__ = 'project.allocation'
|
||||
_rec_name = 'employee'
|
||||
employee = fields.Many2One('company.employee', 'Employee', required=True,
|
||||
- select=True)
|
||||
+ select=True, ondelete='CASCADE')
|
||||
work = fields.Many2One('project.work', 'Work', required=True,
|
||||
- select=True)
|
||||
+ select=True, ondelete='CASCADE')
|
||||
percentage = fields.Float('Percentage', digits=(16, 2), required=True)
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in a new issue