Remove issue7677.

This commit is contained in:
Albert Cervera i Areny 2023-11-02 23:04:09 +01:00
parent e5b55c9a63
commit 38491778dd
2 changed files with 0 additions and 16 deletions

View File

@ -1,14 +0,0 @@
diff --git a/tryton/trytond/trytond/model/modelview.py b/tryton/trytond/trytond/model/modelview.py
index 8d5cf199a8..ec32e02f57 100644
--- a/tryton/trytond/trytond/model/modelview.py
+++ b/tryton/trytond/trytond/model/modelview.py
@@ -825,7 +825,8 @@ class ModelView(Model):
continue
if field._type in ('many2one', 'one2one', 'reference'):
if value:
- if isinstance(value, ModelStorage):
+ if (isinstance(value, ModelStorage)
+ and value.id and value.id >= 0):
changed['%s.' % fname] = {
'rec_name': value.rec_name,
}

2
series
View File

@ -52,8 +52,6 @@ merge_request779.diff # [account_payment] Warn when submitting, approving or pro
issue12576.diff # [account_stock_eu] Could not find the intrastat countries for moves
issue7677.diff # [trytond] Do not set rec_name for unsaved record
issue7672.diff # [stock] Always fill product and template of cost price revision
issue12570.diff # [account] Do not compute account party for general ledger line without party