mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-19 13:22:05 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="edit_project">
|
||||
<field name="name">Project form: Add employee categories</field>
|
||||
<field name="model">project.project</field>
|
||||
<field name="inherit_id" ref="project.edit_project" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_id" position="after">
|
||||
<field name="hr_category_ids" widget="many2many_tags" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="view_task_form2">
|
||||
<field
|
||||
name="name"
|
||||
>Project task form: Add linked employee and Employee category</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_form2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_hr_category_ids" invisible="1" />
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
<field
|
||||
name="hr_category_ids"
|
||||
widget="many2many_tags"
|
||||
options="{'no_create': True}"
|
||||
/>
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
<field name="date_assign" position="after">
|
||||
<field name="employee_ids" widget="many2many_tags" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="quick_create_task_form">
|
||||
<field name="name">project.task.form.quick_create</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.quick_create_task_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="view_task_tree2">
|
||||
<field name="name">project.task.tree</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="project.view_task_tree2" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_ids" position="before">
|
||||
<field name="allowed_assigned_user_ids" invisible="1" />
|
||||
</field>
|
||||
<field name="user_ids" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('id', 'in', allowed_assigned_user_ids)]</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue