Skip to content

Commit

Permalink
Merge branch 'pu/ps/modlogOmitDoc' into '2024.11'
Browse files Browse the repository at this point in the history
tweak(Sales/Model/DocumentPosition): prevent circular loop in diff()

See merge request tine20/tine20!6184
  • Loading branch information
pschuele committed Nov 7, 2024
2 parents 1ec1949 + ef19e79 commit 4dde1d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tine20/Sales/Model/DocumentPosition/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ class Sales_Model_DocumentPosition_Abstract extends Tinebase_Record_NewAbstract
self::UI_CONFIG => [
self::READ_ONLY => true,
],
// to prevent circular loop in (sub)diff
self::OMIT_MOD_LOG => true,
],
self::FLD_PARENT_ID => [
// needs to be set by concrete model (but will actually be done here in abstract static inherit hook)
Expand Down

0 comments on commit 4dde1d0

Please sign in to comment.