initial commit

This commit is contained in:
devapp
2021-11-29 11:56:30 +01:00
parent 016e45a01c
commit 5b67068faa
4285 changed files with 927085 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
<?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="AppAppraisal" lang="java" cacheable="true" extends="App" />
</domain-models>

View File

@@ -0,0 +1,15 @@
<?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="AppRecruitment" lang="java" extends="App">
<string name="lastEmailId" title="Last email sync id"/>
<track>
<field name="lastEmailId" on="UPDATE"/>
</track>
</entity>
</domain-models>

View File

@@ -0,0 +1,9 @@
<?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="AppTraining" lang="java" cacheable="true" extends="App" />
</domain-models>

View File

@@ -0,0 +1,46 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="Appraisal" lang="java" cacheable="true">
<many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Employee" />
<many-to-one name="company" ref="com.axelor.apps.base.db.Company" title="Company" />
<many-to-one name="appraisalType" ref="AppraisalType" title="Type of appraisal" required="true"/>
<date name="toDate" title="Deadline" />
<many-to-one name="reviewerEmployee" ref="com.axelor.apps.hr.db.Employee" title="Reviewer" />
<string name="description" title="Description" large="true" />
<integer name="statusSelect" title="Status" selection="appraisal.status.selected" readonly="true"/>
<boolean name="isTemplate" title="Is template" />
<extra-code><![CDATA[
// TYPE SELECT
public static final int STATUS_DRAFT = 0;
public static final int STATUS_SENT = 1;
public static final int STATUS_COMPLETED = 2;
public static final int STATUS_CANCELED = 3;
]]></extra-code>
<track>
<field name="employee"/>
<field name="company"/>
<field name="appraisalType"/>
<field name="toDate"/>
<field name="reviewerEmployee"/>
<field name="attrs"/>
<field name="description"/>
<field name="statusSelect" on="UPDATE"/>
<field name="isTemplate"/>
<message if="statusSelect == 1" on="UPDATE">Appraisal sent</message>
<message if="statusSelect == 2" on="UPDATE">Appraisal realized</message>
<message if="statusSelect == 3" on="UPDATE">Appraisal cancelled</message>
<message if="statusSelect == 0" on="UPDATE">Appraisal draft</message>
</track>
</entity>
</domain-models>

View File

@@ -0,0 +1,11 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="AppraisalType" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
</entity>
</domain-models>

View File

@@ -0,0 +1,11 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="EducationLevel" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
</entity>
</domain-models>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<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="human-resource" package="com.axelor.apps.hr.db"/>
<entity name="Employee" cacheable="true">
<many-to-many name="trainingSkillSet" ref="com.axelor.apps.talent.db.Skill" title="Training skills"/>
<many-to-many name="experienceSkillSet" ref="com.axelor.apps.talent.db.Skill" title="Experience skills"/>
<many-to-many name="skillSet" ref="com.axelor.apps.talent.db.Skill" title="Other skills" />
</entity>
</domain-models>

View File

@@ -0,0 +1,12 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="HiringStage" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
<integer name="sequence" title="Sequence" />
</entity>
</domain-models>

View File

@@ -0,0 +1,47 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="JobApplication" lang="java" cacheable="true">
<string name="lastName" title="Last name" />
<string name="firstName" title="First name" />
<string name="fullName" title="Full name" namecolumn="true" />
<one-to-one name="emailAddress" ref="com.axelor.apps.message.db.EmailAddress" title="Email" />
<string name="fixedPhone" title="Fixed phone" />
<string name="mobilePhone" title="Mobile phone" />
<many-to-one name="educationLevel" ref="EducationLevel" title="Level of education" />
<integer name="experienceSelect" title="Work experience" selection="job.position.experience.select" />
<many-to-many name="industrySectorSet" title="Business sectors" ref="com.axelor.apps.base.db.IndustrySector"/>
<string name="linkedInProfile" title="LinkedIn profile" />
<many-to-one name="talentSource" ref="com.axelor.apps.talent.db.TalentSource" title="Source" />
<string name="referredBy" title="Referred by" />
<integer name="appreciation" title="Appreciation" selection="training.register.rating.select" />
<many-to-one name="jobPosition" ref="JobPosition" title="Applied job" required="true" />
<many-to-one name="responsible" ref="com.axelor.apps.hr.db.Employee" title="Responsible" />
<many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Employee hired" />
<string name="expectedSalary" title="Expected salary" />
<string name="proposedSalary" title="Proposed salary" />
<date name="availabilityFrom" title="Availability from" />
<string name="description" title="Description" large="true"/>
<integer name="statusSelect" title="Status" selection="job.application.status.select" />
<many-to-one name="hiringStage" ref="com.axelor.apps.talent.db.HiringStage" title="Hiring stage"/>
<string name="reasonNotHired" title="Reason not hired" large="true"/>
<many-to-many name="skillSet" title="Skills tag" ref="Skill"/>
<many-to-one name="picture" ref="com.axelor.meta.db.MetaFile" title="Photo" initParam="true"/>
<date name="creationDate" title="Date of application"/>
<integer name="titleSelect" title="Title" selection="partner.title.type.select"/>
<string name="fax" title="Fax"/>
<many-to-one name="employeeAddress" title="Address" ref="com.axelor.apps.base.db.Address"/>
<extra-code>
<![CDATA[
public static final Integer STATUS_OPEN = 0;
public static final Integer STATUS_HIRED = 1;
public static final Integer STATUS_REJECTED = 2;
public static final Integer STATUS_CANCELLED = 3;
]]>
</extra-code>
</entity>
</domain-models>

View File

@@ -0,0 +1,39 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="JobPosition" lang="java" cacheable="true">
<string name="jobTitle" title="Job title" required="true" namecolumn="true"/>
<string name="jobReference" title="Job reference" readonly="true"/>
<many-to-one name="companyDepartment" ref="com.axelor.apps.base.db.CompanyDepartment" title="Department" />
<many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Responsible" />
<many-to-one name="contractType" ref="com.axelor.apps.hr.db.EmploymentContractType" title="Contract type" />
<integer name="experienceSelect" title="Experience" selection="job.position.experience.select" />
<string name="salary" title="Salary" />
<string name="location" title="Location" />
<string name="jobDescription" title="Job description" large="true"/>
<many-to-one name="mailAccount" ref="com.axelor.apps.message.db.EmailAccount" title="Job email" />
<integer name="statusSelect" title="Status" selection="job.position.status.select" />
<integer name="nbOpenJob" title="Nb of open jobs" />
<integer name="nbPeopleHired" title="Nb of people hired" readonly="true" />
<date name="publicationDate" title="Publication Date"/>
<many-to-one name="company" ref="com.axelor.apps.base.db.Company" title="Company"/>
<string name="positionStatusSelect" title="Position Status" selection="job.position.position.status"/>
<date name="startingDate" title="Starting date"/>
<string name="profileWanted" title="Profile wanted"/>
<extra-code>
<![CDATA[
public static final Integer STATUS_DRAFT = 0;
public static final Integer STATUS_OPEN = 1;
public static final Integer STATUS_ON_HOLD = 2;
public static final Integer STATUS_CLOSED = 3;
public static final Integer STATUS_CANCELED = 3;
]]>
</extra-code>
</entity>
</domain-models>

View File

@@ -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="base" package="com.axelor.apps.base.db"/>
<entity name="Sequence" lang="java">
<extra-code><![CDATA[
//SEQUENCE SELECT
public static final String JOB_POSITION = "jobPosition";
]]></extra-code>
</entity>
</domain-models>

View File

@@ -0,0 +1,11 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="Skill" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
</entity>
</domain-models>

View File

@@ -0,0 +1,12 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="TalentSource" lang="java" cacheable="true">
<string name="code" title="Code" required="true"/>
<string name="name" title="Name" required="true"/>
</entity>
</domain-models>

View File

@@ -0,0 +1,21 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="Training" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
<many-to-one name="category" ref="com.axelor.apps.talent.db.TrainingCategory" title="Category" />
<many-to-one name="company" ref="com.axelor.apps.base.db.Company" title="Company" />
<many-to-many name="skillSet" ref="com.axelor.apps.talent.db.Skill" title="Skill" />
<many-to-many name="requiredTrainingSet" ref="com.axelor.apps.talent.db.Training" title="Required training"/>
<string name="description" title="Description" large="true" />
<string name="program" title="Program" large="true" />
<string name="objectives" title="Objectives" large="true" />
<decimal name="duration" title="Number of hours" />
<boolean name="mandatoryTraining" title="Mandatory training"/>
<decimal name="rating" title="Rating" />
</entity>
</domain-models>

View File

@@ -0,0 +1,11 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="TrainingCategory" lang="java" cacheable="true">
<string name="name" title="Name" required="true" />
</entity>
</domain-models>

View File

@@ -0,0 +1,19 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="TrainingRegister" lang="java" cacheable="true">
<many-to-one name="trainingSession" ref="com.axelor.apps.talent.db.TrainingSession" title="Session"/>
<many-to-one name="training" ref="com.axelor.apps.talent.db.Training" title="Training" required="true"/>
<many-to-one name="employee" ref="com.axelor.apps.hr.db.Employee" title="Employee" required="true"/>
<datetime name="fromDate" title="From date" required="true"/>
<datetime name="toDate" title="To date" required="true"/>
<integer name="ratingSelect" title="Rating" selection="training.register.rating.select"/>
<integer name="statusSelect" title="Status" selection="training.register.status.select" />
<many-to-one name="calendar" ref="com.axelor.apps.base.db.ICalendar" title="Calendar"/>
<string name="fullName" namecolumn="true"/>
</entity>
</domain-models>

View File

@@ -0,0 +1,19 @@
<?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="talent" package="com.axelor.apps.talent.db"/>
<entity name="TrainingSession" lang="java" cacheable="true">
<integer name="statusSelect" title="Status" selection="training.session.status.select" default="1" />
<many-to-one name="training" ref="com.axelor.apps.talent.db.Training" title="Training" required="true" />
<datetime name="fromDate" title="From date" required="true" />
<datetime name="toDate" title="To date" required="true"/>
<integer name="nbrRegistered" title="Number of registredred to the session" />
<decimal name="duration" title="Number of hours" />
<decimal name="rating" title="Rating" />
<string name="fullName" title="Full name" namecolumn="true" />
<string name="location" title="Location" />
</entity>
</domain-models>