<?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="project" package="com.axelor.apps.project.db"/>

	<entity name="ProjectTemplate">
		<string name="name" required="true"/>
		<string name="description" multiline="true" large="true"/>
		<many-to-one name="team" ref="com.axelor.team.db.Team"/>
		<many-to-many name="projectFolderSet" ref="com.axelor.apps.project.db.ProjectFolder" title="Project Folders"/>
		<many-to-one name="assignedTo" ref="com.axelor.auth.db.User" title="Assigned to"/>
		<many-to-many name="teamTaskCategorySet" ref="com.axelor.apps.project.db.TeamTaskCategory" title="Type of authorized categories"/>
		<boolean name="synchronize"/>
		<one-to-many name="wikiList" ref="com.axelor.apps.project.db.Wiki" title="Wiki" mappedBy="projectTemplate"/>
		<string name="code" title="Code" unique="true"/>
		<many-to-many name="membersUserSet" ref="com.axelor.auth.db.User" title="Membres"/>
		<boolean name="imputable" default="true" massUpdate="true"/>
		<many-to-one name="company" ref="com.axelor.apps.base.db.Company" title="Company"/>
		<many-to-many name="productSet" ref="com.axelor.apps.base.db.Product" title="Type of authorized activities"/>
		<string name="fullName" namecolumn="true" title="Name"/>
		<boolean name="excludePlanning" title="Exclude planning"/>
		<boolean name="isBusinessProject" title="Business project"/>
		<many-to-many name="taskTemplateSet" ref="com.axelor.apps.project.db.TaskTemplate" title="Task templates"/>
	</entity>
  
</domain-models>
