You are on page 1of 1

AnalyticMoveLineMngtRepository.

java 12/26/2021 12:33 PM

1 /*
2 * Axelor Business Solutions
3 *
4 * Copyright (C) 2021 Axelor (<http://axelor.com>).
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License, version 3,
8 * as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 package com.axelor.apps.account.db.repo;
19
20 import com.axelor.apps.account.db.AnalyticMoveLine;
21
22 public class AnalyticMoveLineMngtRepository extends AnalyticMoveLineRepository {
23 @Override
24 public AnalyticMoveLine copy(AnalyticMoveLine entity, boolean deep) {
25 AnalyticMoveLine copy = super.copy(entity, deep);
26 copy.setMoveLine(null);
27 copy.setInvoiceLine(null);
28 return copy;
29 }
30 }
31

Page 1 of 1

You might also like