public void checkMonthlyExportCompany(Company company) throws AxelorException {

    AccountConfig accountConfig = accountConfigService.getAccountConfig(company);

    accountConfigService.getCustomerAccount(accountConfig);
    accountConfigService.getDirectDebitPaymentMode(accountConfig);
  }
  public AccountingSituation createAccountingSituation(Company company) throws AxelorException {

    AccountConfig accountConfig = accountConfigService.getAccountConfig(company);

    AccountingSituation accountingSituation = new AccountingSituation();

    accountingSituation.setCompany(company);
    accountingSituation.setCustomerAccount(accountConfigService.getCustomerAccount(accountConfig));
    accountingSituation.setSupplierAccount(accountConfigService.getSupplierAccount(accountConfig));
    save(accountingSituation);

    return accountingSituation;
  }