initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?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="base_appMobile.csv" separator=";" type="com.axelor.apps.base.db.AppMobile" call="com.axelor.csv.script.ImportApp:importApp">
|
||||
<bind column="dependsOn" to="dependsOnSet" search="self.code in :dependsOn" eval="dependsOn.split(',') as List"/>
|
||||
</input>
|
||||
|
||||
</csv-inputs>
|
||||
@@ -0,0 +1,2 @@
|
||||
"name";"code";"installOrder";"description";"imagePath";"modules";"dependsOn";"sequence"
|
||||
"Axelor Mobile";"mobile";32;"Axelor Mobile Management";"app-mobile.png";"axelor-mobile";"sale,expense,leave,timesheet";110
|
||||
|
Binary file not shown.
|
After Width: | Height: | Size: 511 B |
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<domain-models xmlns="http://axelor.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.2.xsd">
|
||||
|
||||
<module name="base" package="com.axelor.apps.base.db"/>
|
||||
|
||||
<entity name="AppMobile" lang="java" extends="App">
|
||||
<boolean name="isSaleAppEnable" default="true" title="Sale"/>
|
||||
<boolean name="isCrmAppEnable" default="true" title="CRM"/>
|
||||
<boolean name="isTimesheetAppEnable" default="true" title="Timesheet"/>
|
||||
<boolean name="isLeaveAppEnable" default="true" title="Leave"/>
|
||||
<boolean name="isExpenseAppEnable" default="true" title="Expense"/>
|
||||
<boolean name="isTaskAppEnable" default="true" title="Task"/>
|
||||
<boolean name="isQualityAppEnable" default="true" title="Quality"/>
|
||||
<decimal name="offlineRecordLimit" title="Offline record limit"/>
|
||||
|
||||
<many-to-many name="partnerSet" ref="com.axelor.apps.base.db.Partner" title="Customers"/>
|
||||
<many-to-many name="partnerContactSet" ref="com.axelor.apps.base.db.Partner" title="Contacts"/>
|
||||
<many-to-many name="projectSet" ref="com.axelor.apps.project.db.Project" title="Projects"/>
|
||||
|
||||
<many-to-many name="leadSet" ref="com.axelor.apps.crm.db.Lead" title="Leads"/>
|
||||
|
||||
<many-to-many name="productSet" ref="com.axelor.apps.base.db.Product" title="Products"/>
|
||||
|
||||
<track>
|
||||
<field name="isSaleAppEnable" on="UPDATE"/>
|
||||
<field name="isCrmAppEnable" on="UPDATE"/>
|
||||
<field name="isTimesheetAppEnable" on="UPDATE"/>
|
||||
<field name="isLeaveAppEnable" on="UPDATE"/>
|
||||
<field name="isExpenseAppEnable" on="UPDATE"/>
|
||||
<field name="offlineRecordLimit" on="UPDATE"/>
|
||||
</track>
|
||||
</entity>
|
||||
|
||||
</domain-models>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.2.xsd">
|
||||
|
||||
<module name="auth" package="com.axelor.auth.db"/>
|
||||
|
||||
<entity name="User" sequential="true" lang="java">
|
||||
|
||||
<string name="appPermissions" title="Mobile app permissions" selection="mobile.user.app.permissions.select"/>
|
||||
|
||||
<track>
|
||||
<field name="appPermissions"/>
|
||||
</track>
|
||||
|
||||
</entity>
|
||||
|
||||
</domain-models>
|
||||
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile",,,
|
||||
"CRM",,,
|
||||
"Contacts",,,
|
||||
"Customers",,,
|
||||
"Expense",,,
|
||||
"Expenses",,,
|
||||
"Leads",,,
|
||||
"Leave",,,
|
||||
"Leaves",,,
|
||||
"Mobile app permissions",,,
|
||||
"Mobile apps",,,
|
||||
"Offline record limit",,,
|
||||
"Products",,,
|
||||
"Projects",,,
|
||||
"Quality",,,
|
||||
"Sale",,,
|
||||
"Sales",,,
|
||||
"Task",,,
|
||||
"Timesheet",,,
|
||||
"Timesheets",,,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","App Mobile",,
|
||||
"Apps permissions","Apps Berechtigungen",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Kontakte",,
|
||||
"Customers","Kunden",,
|
||||
"Expense","Aufwand",,
|
||||
"Expenses","Aufwendungen",,
|
||||
"Leads","Leads",,
|
||||
"Leave","Urlaub",,
|
||||
"Leaves","Blätter",,
|
||||
"Mobile apps","Mobile Apps",,
|
||||
"Offline record limit","Offline-Satzgrenze",,
|
||||
"Products","Produkte",,
|
||||
"Projects","Projekte",,
|
||||
"Quality",,,
|
||||
"Sale","Verkauf",,
|
||||
"Sales","Umsatz",,
|
||||
"Task",,,
|
||||
"Timesheet","Stundenzettel",,
|
||||
"Timesheets","Stundenzettel",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile",,,
|
||||
"CRM",,,
|
||||
"Contacts",,,
|
||||
"Customers",,,
|
||||
"Expense",,,
|
||||
"Expenses",,,
|
||||
"Leads",,,
|
||||
"Leave",,,
|
||||
"Leaves",,,
|
||||
"Mobile app permissions",,,
|
||||
"Mobile apps",,,
|
||||
"Offline record limit",,,
|
||||
"Products",,,
|
||||
"Projects",,,
|
||||
"Quality",,,
|
||||
"Sale",,,
|
||||
"Sales",,,
|
||||
"Task",,,
|
||||
"Timesheet",,,
|
||||
"Timesheets",,,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","Aplicación Móvil",,
|
||||
"Apps permissions","Permisos de las aplicaciones",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Contactos",,
|
||||
"Customers","Clientes",,
|
||||
"Expense","Gasto",,
|
||||
"Expenses","Gastos",,
|
||||
"Leads","Plomos",,
|
||||
"Leave","Salir",,
|
||||
"Leaves","Hojas",,
|
||||
"Mobile apps","Aplicaciones para móviles",,
|
||||
"Offline record limit","Límite de registros fuera de línea",,
|
||||
"Products","Productos",,
|
||||
"Projects","Proyectos",,
|
||||
"Quality",,,
|
||||
"Sale","Venta",,
|
||||
"Sales","Ventas",,
|
||||
"Task",,,
|
||||
"Timesheet","Hoja de horas",,
|
||||
"Timesheets","Hojas horarias",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile",,,
|
||||
"CRM",,,
|
||||
"Contacts",,,
|
||||
"Customers",,,
|
||||
"Expense",,,
|
||||
"Expenses",,,
|
||||
"Leads",,,
|
||||
"Leave",,,
|
||||
"Leaves",,,
|
||||
"Mobile app permissions","Permissions sur l'application mobile",,
|
||||
"Mobile apps",,,
|
||||
"Offline record limit",,,
|
||||
"Products",,,
|
||||
"Projects",,,
|
||||
"Quality",,,
|
||||
"Sale",,,
|
||||
"Sales",,,
|
||||
"Task",,,
|
||||
"Timesheet",,,
|
||||
"Timesheets",,,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","App Mobile",,
|
||||
"Apps permissions","Permessi per le applicazioni",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Contatti",,
|
||||
"Customers","I clienti",,
|
||||
"Expense","Spese",,
|
||||
"Expenses","Spese",,
|
||||
"Leads","Piombi",,
|
||||
"Leave","Lascia",,
|
||||
"Leaves","Foglie",,
|
||||
"Mobile apps","Applicazioni mobili",,
|
||||
"Offline record limit","Limite record offline",,
|
||||
"Products","Prodotti",,
|
||||
"Projects","Progetti",,
|
||||
"Quality",,,
|
||||
"Sale","Vendita",,
|
||||
"Sales","Vendite",,
|
||||
"Task",,,
|
||||
"Timesheet","Foglio orario",,
|
||||
"Timesheets","Schede orarie",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","App Mobiel",,
|
||||
"Apps permissions","Toestemmingen voor apps",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Contacten",,
|
||||
"Customers","Klanten",,
|
||||
"Expense","Uitgaven",,
|
||||
"Expenses","Uitgaven",,
|
||||
"Leads","Leads",,
|
||||
"Leave","Verlof",,
|
||||
"Leaves","Bladeren",,
|
||||
"Mobile apps","Mobiele apps",,
|
||||
"Offline record limit","Offline record limiet",,
|
||||
"Products","Producten",,
|
||||
"Projects","Projecten",,
|
||||
"Quality",,,
|
||||
"Sale","Verkoop",,
|
||||
"Sales","Verkoop",,
|
||||
"Task",,,
|
||||
"Timesheet","Timesheet",,
|
||||
"Timesheets","Timesheets",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","Aplikacja Mobilna",,
|
||||
"Apps permissions","Aplikuje zezwolenia",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Kontakty",,
|
||||
"Customers","Klienci",,
|
||||
"Expense","Wydatki",,
|
||||
"Expenses","Wydatki",,
|
||||
"Leads","Ołowiane",,
|
||||
"Leave","Urlop",,
|
||||
"Leaves","Liście",,
|
||||
"Mobile apps","Aplikacje mobilne",,
|
||||
"Offline record limit","Limit rekordu w trybie offline",,
|
||||
"Products","Produkty",,
|
||||
"Projects","Projekty",,
|
||||
"Quality",,,
|
||||
"Sale","Sprzedaż",,
|
||||
"Sales","Sprzedaż",,
|
||||
"Task",,,
|
||||
"Timesheet","Arkusz czasu",,
|
||||
"Timesheets","Arkusze czasu",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","App Mobile",,
|
||||
"Apps permissions","Permissões de aplicativos",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Contactos",,
|
||||
"Customers","Clientes",,
|
||||
"Expense","Despesas",,
|
||||
"Expenses","Despesas",,
|
||||
"Leads","Leads",,
|
||||
"Leave","Deixar",,
|
||||
"Leaves","Folhas",,
|
||||
"Mobile apps","Aplicativos móveis",,
|
||||
"Offline record limit","Limite de registro off-line",,
|
||||
"Products","Produtos",,
|
||||
"Projects","Projetos",,
|
||||
"Quality",,,
|
||||
"Sale","Venda",,
|
||||
"Sales","Vendas",,
|
||||
"Task",,,
|
||||
"Timesheet","Folha de horas de trabalho",,
|
||||
"Timesheets","Folhas de horas de trabalho",,
|
||||
|
@@ -0,0 +1,21 @@
|
||||
"key","message","comment","context"
|
||||
"App Mobile","App Mobile",,
|
||||
"Apps permissions","Разрешения приложений",,
|
||||
"CRM","CRM",,
|
||||
"Contacts","Контакты",,
|
||||
"Customers","Клиенты",,
|
||||
"Expense","Расходы",,
|
||||
"Expenses","Расходы",,
|
||||
"Leads","Зацепки",,
|
||||
"Leave","Оставь",,
|
||||
"Leaves","Листья",,
|
||||
"Mobile apps","Мобильные приложения",,
|
||||
"Offline record limit","Оффлайн лимит записи",,
|
||||
"Products","Продукты",,
|
||||
"Projects","Проекты",,
|
||||
"Quality",,,
|
||||
"Sale","Продажа",,
|
||||
"Sales","Продажи",,
|
||||
"Task",,,
|
||||
"Timesheet","Тайм-аут",,
|
||||
"Timesheets","Тайм-аутбуки",,
|
||||
|
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<object-views xmlns="http://axelor.com/xml/ns/object-views"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">
|
||||
|
||||
<form name="app-mobile-config-form" title="App Mobile" model="com.axelor.apps.base.db.AppMobile" canDelete="false" canNew="false" width="large">
|
||||
<panel name="mobileAppsPanel" title="Mobile apps">
|
||||
<field name="isSaleAppEnable" widget="boolean-switch" if="__config__.app.isApp('sale')"/>
|
||||
<field name="isCrmAppEnable" widget="boolean-switch" if="__config__.app.isApp('crm')"/>
|
||||
<field name="isTimesheetAppEnable" widget="boolean-switch" if="__config__.app.isApp('timesheet')"/>
|
||||
<field name="isLeaveAppEnable" widget="boolean-switch" if="__config__.app.isApp('leave')"/>
|
||||
<field name="isExpenseAppEnable" widget="boolean-switch" if="__config__.app.isApp('expense')"/>
|
||||
<field name="isTaskAppEnable" widget="boolean-switch" if="__config__.app.isApp('project')"/>
|
||||
<field name="isQualityAppEnable" widget="boolean-switch" if="__config__.app.isApp('quality')"/>
|
||||
<field name="offlineRecordLimit"/>
|
||||
</panel>
|
||||
<panel-tabs name="mainPanelTab" showIf="isSaleAppEnable || isCrmAppEnable" >
|
||||
<panel-related name="partnerSetPanel" field="partnerSet" domain="self.isCustomer = 'true' and self.isContact = 'false'" form-view="partner-form" grid-view="partner-grid"/>
|
||||
<panel-related name="partnerContactSetPanel" field="partnerContactSet" domain="self.isContact = 'true'" form-view="partner-contact-form" grid-view="partner-contact-grid"/>
|
||||
<panel-related name="projectSetPanel" field="projectSet" form-view="project-form" grid-view="project-grid"/>
|
||||
<panel-related name="leadSetPanel" field="leadSet" showIf="isCrmAppEnable" form-view="lead-form" grid-view="lead-grid"/>
|
||||
<panel-related name="productSetPanel" field="productSet" showIf="isSaleAppEnable" form-view="product-form" grid-view="product-grid"/>
|
||||
</panel-tabs>
|
||||
|
||||
<panel-mail name="mailPanel">
|
||||
<mail-messages limit="4" />
|
||||
<mail-followers />
|
||||
</panel-mail>
|
||||
</form>
|
||||
|
||||
</object-views>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<object-views xmlns="http://axelor.com/xml/ns/object-views"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">
|
||||
|
||||
<selection name="mobile.user.app.permissions.select">
|
||||
<option value="crm">CRM</option>
|
||||
<option value="sale">Sales</option>
|
||||
<option value="timesheet">Timesheets</option>
|
||||
<option value="expense">Expenses</option>
|
||||
<option value="leave">Leaves</option>
|
||||
<option value="task">Task</option>
|
||||
<option value="quality">Quality</option>
|
||||
</selection>
|
||||
|
||||
</object-views>
|
||||
Reference in New Issue
Block a user