Remove lazy_loading.diff.
This commit is contained in:
parent
1be00e27f6
commit
638c460d5e
|
@ -1,31 +0,0 @@
|
|||
diff --git a/trytond/model/fields/many2one.py b/trytond/model/fields/many2one.py
|
||||
index 62344269..529e91b1 100644
|
||||
--- a/trytond/trytond/model/fields/many2one.py
|
||||
+++ b/trytond/trytond/model/fields/many2one.py
|
||||
@@ -26,7 +26,7 @@ class Many2One(Field):
|
||||
search_order=None, search_context=None, help='', required=False,
|
||||
readonly=False, domain=None, states=None, select=False,
|
||||
on_change=None, on_change_with=None, depends=None, context=None,
|
||||
- loading='eager'):
|
||||
+ loading='lazy'):
|
||||
'''
|
||||
:param model_name: The name of the target model.
|
||||
:param left: The name of the field to store the left value for
|
||||
diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py
|
||||
index b22a49bb..d6397400 100644
|
||||
--- a/trytond/trytond/model/modelstorage.py
|
||||
+++ b/trytond/trytond/model/modelstorage.py
|
||||
@@ -98,11 +98,11 @@ class ModelStorage(Model):
|
||||
create_uid = fields.Many2One(
|
||||
'res.user', lazy_gettext('ir.msg_created_by'), readonly=True)
|
||||
create_date = fields.Timestamp(
|
||||
- lazy_gettext('ir.msg_created_by'), readonly=True)
|
||||
+ lazy_gettext('ir.msg_created_by'), readonly=True, loading='lazy')
|
||||
write_uid = fields.Many2One(
|
||||
'res.user', lazy_gettext('ir.msg_edited_by'), readonly=True)
|
||||
write_date = fields.Timestamp(
|
||||
- lazy_gettext('ir.msg_edited_at'), readonly=True)
|
||||
+ lazy_gettext('ir.msg_edited_at'), readonly=True, loading='lazy')
|
||||
rec_name = fields.Function(
|
||||
fields.Char(lazy_gettext('ir.msg_record_name')), 'get_rec_name',
|
||||
searcher='search_rec_name')
|
1
series
1
series
|
@ -42,7 +42,6 @@ issue9017.diff # [purchase] Doesn't copy product_suppliers when a template or a
|
|||
|
||||
model.diff # [trytond] Allows dynamic fields in Model as required by the wizard in sale_pos_template_quantities
|
||||
issue9103.diff # [trytond] User-defined reports for custom template extensions
|
||||
lazy_loading.diff # [trytond] https://discuss.tryton.org/t/should-create-uid-write-uid-use-lazy-loading/2458/7
|
||||
|
||||
issue9616.diff # [analytic_invoice] Analytic move is not created when closing an asset
|
||||
|
||||
|
|
Loading…
Reference in New Issue