Commit ae2b4259 by aagusti

perbaikan share

1 parent 42fe46b5
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <odoo>
<data> <data>
<record model="ir.ui.view" id="etq_exam_share_form_view"> <record model="ir.ui.view" id="etq_exam_share_form_view">
<field name="name">etq exam share Form View</field> <field name="name">etq exam share Form View</field>
...@@ -7,11 +7,13 @@ ...@@ -7,11 +7,13 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<group> <group>
<field name="exam_id" invisible="True"/> <field name="exam_id" invisible="1"/>
<field name="share_type"/> <field name="share_type"/>
<field name="partner_ids" attrs="{'invisible': [('share_type','!=','existing_contacts')]}"/> <field name="partner_ids"
<field name="email_list" attrs="{'invisible': [('share_type','!=','new_contacts')]}"/> attrs="{'invisible':[('share_type','!=','existing_contacts')]}"/>
<field name="email_subject"/> <field name="email_list"
attrs="{'invisible':[('share_type','!=','new_contacts')]}"/>
<field name="email_subject" col="3"/>
<field name="email_content"/> <field name="email_content"/>
</group> </group>
<footer> <footer>
...@@ -22,4 +24,4 @@ ...@@ -22,4 +24,4 @@
</record> </record>
</data> </data>
</openerp>
\ No newline at end of file \ No newline at end of file
</odoo>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <odoo>
<data> <data>
<record model="ir.ui.view" id="etq_result_search_view"> <record model="ir.ui.view" id="etq_result_search_view">
<field name="name">etq result Search View</field> <field name="name">etq result Search View</field>
...@@ -92,4 +92,4 @@ ...@@ -92,4 +92,4 @@
<menuitem id="etq_menu_results" name="Exam Results" parent="etq_exam" action="etq_result_action" sequence="20"/> <menuitem id="etq_menu_results" name="Exam Results" parent="etq_exam" action="etq_result_action" sequence="20"/>
</data> </data>
</openerp>
\ No newline at end of file \ No newline at end of file
</odoo>
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp> <odoo>
<data> <data>
<template id="portal_my_home_exam" name="Portal layout : Exam menu entries" <template id="portal_my_home_exam" name="Portal layout : Exam menu entries"
inherit_id="portal.portal_breadcrumbs" priority="95"> inherit_id="portal.portal_breadcrumbs" priority="95">
...@@ -159,4 +159,4 @@ ...@@ -159,4 +159,4 @@
</t> </t>
</template> </template>
</data> </data>
</openerp> </odoo>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!