First commit waiting for Budget Alert

This commit is contained in:
2025-09-04 13:37:35 +01:00
commit 2d681f27f5
4563 changed files with 1061534 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<csv-inputs xmlns="http://axelor.com/xml/ns/data-import"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://axelor.com/xml/ns/data-import http://axelor.com/xml/ns/data-import/data-import_5.2.xsd">
<input file="cash-management_role.csv" separator=";" type="com.axelor.auth.db.Role" search="self.name = :name"/>
<input file="cash-management_permission.csv" separator=";" type="com.axelor.auth.db.Permission" search="self.name = :name" call="com.axelor.csv.script.ImportPermission:importPermissionToRole">
<bind to="canRead" eval="can_read == 'x' ? 'true' : 'false'"/>
<bind to="canWrite" eval="can_write == 'x' ? 'true' : 'false'"/>
<bind to="canCreate" eval="can_create == 'x' ? 'true' : 'false'"/>
<bind to="canRemove" eval="can_remove == 'x' ? 'true' : 'false'"/>
<bind to="canExport" eval="can_export == 'x' ? 'true' : 'false'"/>
</input>
<input file="cash-management_metaMenu.csv" separator=";" type="com.axelor.meta.db.MetaMenu" search="self.name = :name" update="true">
<bind column="roles" to="roles" search="self.name in :roles" eval="roles.split('\\|') as List"/>
</input>
</csv-inputs>

View File

@ -0,0 +1,8 @@
"name";"roles"
"forecast-root";"Cash Management Manager|Cash Management User|Cash Management Read"
"forecast-root-forecast";"Cash Management Manager|Cash Management User|Cash Management Read"
"forecast-root-forecast-recap";"Cash Management Manager|Cash Management User|Cash Management Read"
"forecast-root-forecast-report";"Cash Management Manager|Cash Management User|Cash Management Read"
"forecast-conf";"Cash Management Manager"
"forecast-conf-forecast-generator";"Cash Management Manager"
"forecast-conf-forecast-reason";"Cash Management Manager"
1 name roles
2 forecast-root Cash Management Manager|Cash Management User|Cash Management Read
3 forecast-root-forecast Cash Management Manager|Cash Management User|Cash Management Read
4 forecast-root-forecast-recap Cash Management Manager|Cash Management User|Cash Management Read
5 forecast-root-forecast-report Cash Management Manager|Cash Management User|Cash Management Read
6 forecast-conf Cash Management Manager
7 forecast-conf-forecast-generator Cash Management Manager
8 forecast-conf-forecast-reason Cash Management Manager

View File

@ -0,0 +1,16 @@
"name";"object";"can_read";"can_write";"can_create";"can_remove";"can_export";"condition";"conditionParams";"roleName"
"perm.cash.management.Forecast.r";"com.axelor.apps.cash.management.db.Forecast";"x";;;;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Read"
"perm.cash.management.ForecastReason.r";"com.axelor.apps.cash.management.db.ForecastReason";"x";;;;;;;"Cash Management Read"
"perm.cash.management.ForecastRecap.r";"com.axelor.apps.cash.management.db.ForecastRecap";"x";;;;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Read"
"perm.cash.management.ForecastRecapLine.r";"com.axelor.apps.cash.management.db.ForecastRecapLine";"x";;;;;;;"Cash Management Read"
"perm.cash.management.ForecastGenerator.r";"com.axelor.apps.cash.management.db.ForecastGenerator";"x";;;;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Read"
"perm.cash.management.Forecast.rwc";"com.axelor.apps.cash.management.db.Forecast";"x";"x";"x";;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management User"
"perm.cash.management.ForecastReason.rwc";"com.axelor.apps.cash.management.db.ForecastReason";"x";"x";"x";;;;;"Cash Management User"
"perm.cash.management.ForecastRecap.rwc";"com.axelor.apps.cash.management.db.ForecastRecap";"x";"x";"x";;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management User"
"perm.cash.management.ForecastRecapLine.rwc";"com.axelor.apps.cash.management.db.ForecastRecapLine";"x";"x";"x";;;;;"Cash Management User"
"perm.cash.management.ForecastGenerator.rwc";"com.axelor.apps.cash.management.db.ForecastGenerator";"x";"x";"x";;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management User"
"perm.cash.management.Forecast.rwcde";"com.axelor.apps.cash.management.db.Forecast";"x";"x";"x";"x";"x";"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Manager"
"perm.cash.management.ForecastReason.rwcde";"com.axelor.apps.cash.management.db.ForecastReason";"x";"x";"x";"x";"x";;;"Cash Management Manager"
"perm.cash.management.ForecastRecap.rwcde";"com.axelor.apps.cash.management.db.ForecastRecap";"x";"x";"x";"x";"x";"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Manager"
"perm.cash.management.ForecastRecapLine.rwcde";"com.axelor.apps.cash.management.db.ForecastRecapLine";"x";"x";"x";"x";"x";;;"Cash Management Manager"
"perm.cash.management.ForecastGenerator.rwcde";"com.axelor.apps.cash.management.db.ForecastGenerator";"x";"x";"x";"x";"x";"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Cash Management Manager"
1 name object can_read can_write can_create can_remove can_export condition conditionParams roleName
2 perm.cash.management.Forecast.r com.axelor.apps.cash.management.db.Forecast x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Read
3 perm.cash.management.ForecastReason.r com.axelor.apps.cash.management.db.ForecastReason x Cash Management Read
4 perm.cash.management.ForecastRecap.r com.axelor.apps.cash.management.db.ForecastRecap x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Read
5 perm.cash.management.ForecastRecapLine.r com.axelor.apps.cash.management.db.ForecastRecapLine x Cash Management Read
6 perm.cash.management.ForecastGenerator.r com.axelor.apps.cash.management.db.ForecastGenerator x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Read
7 perm.cash.management.Forecast.rwc com.axelor.apps.cash.management.db.Forecast x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management User
8 perm.cash.management.ForecastReason.rwc com.axelor.apps.cash.management.db.ForecastReason x x x Cash Management User
9 perm.cash.management.ForecastRecap.rwc com.axelor.apps.cash.management.db.ForecastRecap x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management User
10 perm.cash.management.ForecastRecapLine.rwc com.axelor.apps.cash.management.db.ForecastRecapLine x x x Cash Management User
11 perm.cash.management.ForecastGenerator.rwc com.axelor.apps.cash.management.db.ForecastGenerator x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management User
12 perm.cash.management.Forecast.rwcde com.axelor.apps.cash.management.db.Forecast x x x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Manager
13 perm.cash.management.ForecastReason.rwcde com.axelor.apps.cash.management.db.ForecastReason x x x x x Cash Management Manager
14 perm.cash.management.ForecastRecap.rwcde com.axelor.apps.cash.management.db.ForecastRecap x x x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Manager
15 perm.cash.management.ForecastRecapLine.rwcde com.axelor.apps.cash.management.db.ForecastRecapLine x x x x x Cash Management Manager
16 perm.cash.management.ForecastGenerator.rwcde com.axelor.apps.cash.management.db.ForecastGenerator x x x x x self.company.id in (?) __user__.companySet.id.plus(0) Cash Management Manager

View File

@ -0,0 +1,4 @@
"name";"description"
"Cash Management Read";
"Cash Management User";
"Cash Management Manager";
1 name description
2 Cash Management Read
3 Cash Management User
4 Cash Management Manager