mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Set note resource also to new records
issue5300 review21641002
This commit is contained in:
parent
456d8b5d0d
commit
037102486a
|
@ -434,7 +434,7 @@
|
|||
var resource = this.screen.group.model.fields.resource;
|
||||
var unread = this.screen.group.model.fields.unread;
|
||||
this.screen.group.forEach(function(record) {
|
||||
if (record.get_loaded()) {
|
||||
if (record.get_loaded() || record.id < 0) {
|
||||
resource.set_client(record, this.resource);
|
||||
if (!record._changed.unread) {
|
||||
unread.set_client(record, false);
|
||||
|
|
Loading…
Reference in a new issue