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.
|
|
<?xml version="1.0" encoding="UTF-8"?> <odoo> <record id="view_dav_collection_tree" model="ir.ui.view"> <field name="model">dav.collection</field> <field name="arch" type="xml"> <tree> <field name="name"/> <field name="dav_type"/> <field name="model_id"/> <field name="domain"/> </tree> </field> </record> <record id="view_dav_collection_form" model="ir.ui.view"> <field name="model">dav.collection</field> <field name="arch" type="xml"> <form> <group> <field name="name"/> <field name="dav_type"/> <field name="url" widget="url" attrs="{'invisible': [('url', '=', False)]}"/> </group> <group string="Access"> <field name="model_id"/> <!-- TODO: use widget="domain" when we can set the model dynamically /--> <field name="domain"/> <field name="field_uuid" domain="[('model_id', '=', model_id)]"/> <field name="rights"/> </group> <group string="Additional field mapping"> <field name="field_mapping_ids" nolabel="1" context="{'default_collection_id': active_id}"/> </group> </form> </field> </record>
<record id="view_dav_collection_mapping_tree" model="ir.ui.view"> <field name="model">dav.collection.field_mapping</field> <field name="arch" type="xml"> <tree> <field name="name"/> <field name="field_id"/> <field name="mapping_type"/> </tree> </field> </record>
<record id="view_dav_collection_mapping_form" model="ir.ui.view"> <field name="model">dav.collection.field_mapping</field> <field name="arch" type="xml"> <form> <group> <field name="collection_id" invisible="1"/> <field name="model_id" invisible="1"/> <field name="name"/> <field name="mapping_type"/> <field name="field_id" domain="[('model_id', '=', model_id)]"/> <field name="import_code" attrs="{'invisible': [('mapping_type', '!=', 'code')]}"/> <field name="export_code" attrs="{'invisible': [('mapping_type', '!=', 'code')]}"/> </group> </form> </field> </record>
<act_window id="action_dav_collection" name="WebDAV collections" res_model="dav.collection" view_mode="tree,form" /> <menuitem id="menu_dav_collection" parent="base.menu_administration" action="action_dav_collection" sequence="100" /> </odoo>
|