join me on the adventure of running this so you can learn with me
note i will post stuff mostly using debug mode /web?debug=1 also i like bullet points nad i will try to separate stuff using --- so on your screen you will see 1pixel line
selecting “Choose an administrator user for this app” dont really do much because this used it will not be validated when you log in u will get to a white page with your logo here and a lick to database that is disabled
the real admin is an internal account named admin and the password u provided during install is stored on .local/yunohost/admin/#/apps/libreerp/operations "admin_passwd = "
my guess is that the combination of 1 and 2 happens when your default admin account is something other that admin, i always changed the admin account, i need to test to see if having ynh admin fixes this
any other ynh user login into libreerp gets
# Bad Request
Record does not exist or has been deleted.
(Record: res.users(28,), User: 28)
u need to get in the settings->users, then remove the filter to see something like
internal user will allow you to set more permissions, i bet portal and public users depends on other modules and on stuff like permissions
settings/config/hierarchy hell?
users created via libreerp UI will be confirmed and on libreerp only and have portal user type, imo disabling Free sign up is a good idea
here some hints for Spanish payroll, depending on what version u got installed this can change also have a second install to test things to change the config to have a second database for testing
Nombre
Codigo
Category
Calculo
Basic Salary
BASIC
Basic
Código Python result = contract.wage
Gross
GROSS
Gross
Código Python result = result = categories.BASIC + categories.ALW
Net Salary
NET
Net
Código Python result = categories.BASIC+categories.INDEM - categories.DED
Salario base
1
Basic
Código Python result = (contract.wage/30) * worked_days.DIAS.number_of_days
result = 0
for line in payslip.worked_days_line_ids:
result += line.number_of_days
if result >= 28:
result = 30
result = ( REMTOTAL /worked_days.DIAS.number_of_days) * result