Categorygithub.com/erlangs/hexya-base
modulepackage
1.0.2
Repository: https://github.com/erlangs/hexya-base.git
Documentation: pkg.go.dev

# README

Build Status Go Report Card codecov License: LGPL v3

Base

The kernel of Hexya, needed for all installation.

# Packages

No description provided by the author

# Functions

CompanyGetUserCurrency returns the currency of the current user's company if it exists or the default currency otherwise.

# Constants

CurrencyDisplayPattern is the regexp pattern for displaying a currency.
MODULE_NAME is the name of this module.
QueueJobHoldDelay is the delay that the system waits before polling the job queue again if it has not seen any job left on the last poll.
QueueJobPeriod is the delay between two polls of the job queue.

# Variables

CompanyDependent is a context to add to make a field depend on the user's current company.
GroupERPManager can modify access rights for other users.
GroupMultiCompany displays data to work in a multi-company context.
GroupMultiCurrency displays data to work in a multi-currency context.
GroupPartnerManager is given to users who are allowed to manage contacts.
GroupPortal is granted to portal users.
GroupPublic is granted to external users.
GroupSystem is given to users who are allowed to modify general settings.
GroupTechnicalFeatures can see and modify technical parameters of the ERP.
GroupUser is the group for Employees.
QueueJobStates is the selection for the states of the QueueJob model.
SequenceFuncs maps Hexya formats to functions that must be applied to a time.Time object.
Sequences maps Hexya formats to Go time format.
WarningHelp is the help message for the Warning fields.
WarningMessage gives the possible warning that can be applied to a partner.

# Structs

AuthBackend is the authentication backend of the Base module Users are authenticated against the User model in the database.