Some checks failed
Server (Postgres) / Build & reinstall (setup) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (1) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (2) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (3) (push) Has been cancelled
Server (Postgres) / Python Unit Tests (4) (push) Has been cancelled
Server (Mariadb) / Build & reinstall (setup) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (1) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (2) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (3) (push) Has been cancelled
Server (Mariadb) / Python Unit Tests (4) (push) Has been cancelled
Server (Mariadb) / Coverage Wrap Up (push) Has been cancelled
Lock threads / lock (push) Has been cancelled
Regenerate POT file (translatable strings) / Regenerate POT file (develop) (push) Has been cancelled
Regenerate POT file (translatable strings) / Regenerate POT file (version-16-hotfix) (push) Has been cancelled
Sync translations to hotfix branches / Trigger sync → version-16-hotfix (push) Has been cancelled
Create weekly release pull requests / Release (15) (push) Has been cancelled
Create weekly release pull requests / Release (16) (push) Has been cancelled
48 lines
741 B
Python
48 lines
741 B
Python
import frappe
|
|
|
|
|
|
# accounts
|
|
class PartyFrozen(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class InvalidAccountCurrency(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class InvalidCurrency(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class PartyDisabled(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class InvalidAccountDimensionError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class MandatoryAccountDimensionError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class ReportingCurrencyExchangeNotFoundError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
# stock
|
|
class QualityInspectionRequiredError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class QualityInspectionRejectedError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class QualityInspectionNotSubmittedError(frappe.ValidationError):
|
|
pass
|
|
|
|
|
|
class BatchExpiredError(frappe.ValidationError):
|
|
pass
|