You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.4 KiB
31 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Schedule Log Note Form View -->
|
|
<record id="schedule_log_view_form" model="ir.ui.view">
|
|
<field name="name">schedule.log.view.form</field>
|
|
<field name="model">schedule.log</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<sheet>
|
|
<group>
|
|
<field name="body"/>
|
|
<field name="partner_ids" widget="many2many_tags" attrs="{'invisible':[('is_log','=', False)]}"/>
|
|
<field name="is_log" invisible="1" />
|
|
<field name="time"/>
|
|
<field name="attachment_ids" widget="many2many_binary" string="Attach a file" nolabel="1"
|
|
colspan="2" can_create="true" can_write="true"/>
|
|
</group>
|
|
<footer>
|
|
<button name="action_save" type="object" string="Schedule" class="oe_highlight"/>
|
|
<button string="cancel" special="cancel" class="btn-primary"/>
|
|
</footer>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="action_schedule_log" model="ir.actions.act_window">
|
|
<field name="name">schedule_log</field>
|
|
<field name="res_model">schedule.log</field>
|
|
<field name="view_mode">form</field>
|
|
</record>
|
|
</odoo>
|