Skip to content

Commit

Permalink
Anomaly RM#89327: ACCOUNTING/MASSENTRY_ Description is not inherited …
Browse files Browse the repository at this point in the history
…on moveLines

(cherry picked from commit 0bc04a2)
  • Loading branch information
bsu-axelor authored and ale-axelor committed Feb 6, 2025
1 parent 6a70f75 commit 8f9c863
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import com.axelor.auth.AuthUtils;
import com.axelor.auth.db.User;
import com.axelor.common.ObjectUtils;
import com.axelor.common.StringUtils;
import com.axelor.i18n.I18n;
import com.google.inject.Inject;
import com.google.inject.persist.Transactional;
Expand Down Expand Up @@ -143,6 +144,9 @@ public Move generateMassEntryMove(Move move) throws AxelorException {
counter,
moveLine.getOrigin(),
moveLine.getName());
if (StringUtils.notEmpty(moveLine.getDescription())) {
newMoveLine.setDescription(moveLine.getDescription());
}
newMoveLine.setVatSystemSelect(moveLine.getVatSystemSelect());
newMoveLine.setCutOffStartDate(moveLine.getCutOffStartDate());
newMoveLine.setCutOffEndDate(moveLine.getCutOffEndDate());
Expand Down
3 changes: 3 additions & 0 deletions changelogs/unreleased/89327.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: "Move: fixed description is not inherited on move lines when they are generated from mass entry lines."
module: axelor-account

0 comments on commit 8f9c863

Please sign in to comment.