mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Remove commited patches.
This commit is contained in:
parent
38b57fcb87
commit
b354f4e175
|
@ -1,42 +0,0 @@
|
|||
Index: trytond/trytond/model/fields/one2one.py
|
||||
===================================================================
|
||||
|
||||
--- a/trytond/trytond/model/fields/one2one.py
|
||||
+++ b/trytond/trytond/model/fields/one2one.py
|
||||
@@ -43,7 +43,6 @@
|
||||
])
|
||||
to_delete.extend(relations)
|
||||
if value:
|
||||
- to_create = []
|
||||
for record_id in ids:
|
||||
to_create.append({
|
||||
self.origin: record_id,
|
||||
|
||||
Index: trytond/tests/test_fields.py
|
||||
===================================================================
|
||||
|
||||
--- a/trytond/trytond/tests/test_fields.py
|
||||
+++ b/trytond/trytond/tests/test_fields.py
|
||||
@@ -2269,6 +2269,21 @@
|
||||
'name': 'one2one5',
|
||||
'one2one': target5.id,
|
||||
}])
|
||||
+ targets = self.one2one_target.create([{
|
||||
+ 'name': 'multiple1',
|
||||
+ }, {
|
||||
+ 'name': 'multiple2',
|
||||
+ }])
|
||||
+ one2ones = self.one2one.create([{
|
||||
+ 'name': 'origin6',
|
||||
+ 'one2one': targets[0].id,
|
||||
+ }, {
|
||||
+ 'name': 'origin7',
|
||||
+ 'one2one': targets[1].id,
|
||||
+ }])
|
||||
+ for one2one, target in zip(one2ones, targets):
|
||||
+ self.assert_(one2one)
|
||||
+ self.assertEqual(one2one.one2one, target)
|
||||
|
||||
transaction.cursor.rollback()
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Index: tryton/tryton/gui/window/view_form/view/list_gtk/widget.py
|
||||
===================================================================
|
||||
|
||||
--- a/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py
|
||||
+++ b/tryton/tryton/gui/window/view_form/view/list_gtk/widget.py
|
||||
@@ -809,6 +809,7 @@
|
||||
|
||||
def __init__(self, view, attrs):
|
||||
super(ProgressBar, self).__init__()
|
||||
+ self.view = view
|
||||
self.attrs = attrs
|
||||
self.renderer = gtk.CellRendererProgress()
|
||||
orientation = self.orientations.get(self.attrs.get('orientation',
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
Index: tryton/tryton/gui/window/view_form/model/field.py
|
||||
===================================================================
|
||||
|
||||
--- a/tryton/tryton/gui/window/view_form/model/field.py
|
||||
+++ b/tryton/tryton/gui/window/view_form/model/field.py
|
||||
@@ -135,7 +135,8 @@
|
||||
previous_value = self.get(record)
|
||||
self.set(record, value)
|
||||
if previous_value != self.get(record):
|
||||
- record.modified_fields.setdefault(self.name)
|
||||
+ if not self.attrs.get('readonly'):
|
||||
+ record.modified_fields.setdefault(self.name)
|
||||
record.signal('record-modified')
|
||||
self.sig_changed(record)
|
||||
record.validate(softvalidation=True)
|
||||
|
3
series
3
series
|
@ -9,13 +9,10 @@ disable_tests.diff
|
|||
client-open_url.diff
|
||||
fix_wizard_copy.diff
|
||||
issue6341003_1.diff
|
||||
issue8461003_1.diff
|
||||
issue10391004_1.diff
|
||||
issue8481003_1.diff
|
||||
issue9801002_40001.diff
|
||||
issue5731002_1.diff
|
||||
issue14661002_1.diff
|
||||
issue12711002_1.diff
|
||||
issue8791002_1.diff
|
||||
issue5881002_1.diff
|
||||
|
||||
|
|
Loading…
Reference in a new issue