mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-20 10:02:02 +02:00
19.0 vanilla
This commit is contained in:
parent
a2f74aefd8
commit
4a4d12c333
844 changed files with 212348 additions and 270090 deletions
|
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="project_project_view_form_simplified_template" model="ir.ui.view">
|
||||
<field name="name">project.project.create.wizard.form</field>
|
||||
<field name="model">project.template.create.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Project">
|
||||
<div class="oe_title mb-2">
|
||||
<label for="name" string="Name"/>
|
||||
<h1>
|
||||
<field name="name" class="o_project_name" placeholder="e.g. Office Party"/>
|
||||
</h1>
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
<field name="date" required="not template_has_dates and date_start" invisible="1"/>
|
||||
<field name="date_start" required="not template_has_dates and date" string="Planned Date" widget="daterange" options='{"end_date_field": "date", "always_range": "1"}'/>
|
||||
<label for="alias_name" string="Create tasks by sending an email to" class="pe-2"/>
|
||||
<div class="d-inline-flex">
|
||||
<field name="alias_name" placeholder="e.g. office-party"/>@ <field name="alias_domain_id" placeholder="e.g. mycompany.com" options="{'no_create': True, 'no_open': True}"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<field name="role_to_users_ids" invisible="not role_to_users_ids">
|
||||
<list create="0" delete="0" no_open="1" editable="bottom">
|
||||
<field name="role_id" force_save="1" readonly="1" options="{'no_open': True}"/>
|
||||
<field name="user_ids" widget="many2many_avatar_user" options="{'no_open': True, 'no_quick_create': True}"/>
|
||||
</list>
|
||||
</field>
|
||||
<footer>
|
||||
<button string="Create project" name="create_project_from_template" type="object" class="btn-primary o_open_tasks" data-hotkey="q"/>
|
||||
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue