Add patch for issue4093

This commit is contained in:
Sergi Almacellas Abellana 2014-08-01 18:02:43 +02:00
parent 8866502dd2
commit c923e4687e
2 changed files with 19 additions and 0 deletions

18
issue7461002_1.diff Normal file
View 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

1
series
View File

@ -27,3 +27,4 @@ issue13411002_1.diff
issue9511002_1.diff
issue8481003_1.diff
issue158_323.diff
issue7461002_1.diff