Search in sources :

Example 11 with Tax

use of com.axelor.apps.account.db.Tax in project axelor-open-suite by axelor.

the class TaxBaseRepository method copy.

@Override
public Tax copy(Tax entity, boolean deep) {
    Tax copy = super.copy(entity, deep);
    copy.setActiveTaxLine(null);
    return copy;
}
Also used : Tax(com.axelor.apps.account.db.Tax)

Aggregations

Tax (com.axelor.apps.account.db.Tax)11 MoveLine (com.axelor.apps.account.db.MoveLine)6 BigDecimal (java.math.BigDecimal)6 Account (com.axelor.apps.account.db.Account)4 Move (com.axelor.apps.account.db.Move)4 TaxLine (com.axelor.apps.account.db.TaxLine)4 InvoiceLineTax (com.axelor.apps.account.db.InvoiceLineTax)3 Company (com.axelor.apps.base.db.Company)3 AxelorException (com.axelor.exception.AxelorException)3 Transactional (com.google.inject.persist.Transactional)3 ArrayList (java.util.ArrayList)3 AccountConfig (com.axelor.apps.account.db.AccountConfig)2 AnalyticMoveLine (com.axelor.apps.account.db.AnalyticMoveLine)2 MoveTemplateLine (com.axelor.apps.account.db.MoveTemplateLine)2 Partner (com.axelor.apps.base.db.Partner)2 AccountManagement (com.axelor.apps.account.db.AccountManagement)1 AnalyticAccount (com.axelor.apps.account.db.AnalyticAccount)1 InvoiceLine (com.axelor.apps.account.db.InvoiceLine)1 IrrecoverablePaymentScheduleLineLine (com.axelor.apps.account.db.IrrecoverablePaymentScheduleLineLine)1 Journal (com.axelor.apps.account.db.Journal)1