diff options
| author | ajay javiya (OpenERP) <aja@tinyerp.com> | 2014-03-28 09:58:15 +0530 |
|---|---|---|
| committer | ajay javiya (OpenERP) <aja@tinyerp.com> | 2014-03-28 09:58:15 +0530 |
| commit | e63646130e8f01ff0c8378c2316e8eaf8a47e44d (patch) | |
| tree | 93e58717e8ba23e3eb5cfac56288afda681cc8f0 /addons/base_import_module/tests/test_module/test.xml | |
| parent | b8b562ce0a04e09b805f2f64b5631ae506801be3 (diff) | |
| parent | cf311bda60da7c6b166bdee28937fff097009508 (diff) | |
[MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140328042815-kv5qmuh2wxdt9wwp
Diffstat (limited to 'addons/base_import_module/tests/test_module/test.xml')
| -rw-r--r-- | addons/base_import_module/tests/test_module/test.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/addons/base_import_module/tests/test_module/test.xml b/addons/base_import_module/tests/test_module/test.xml new file mode 100644 index 00000000000..489b286d975 --- /dev/null +++ b/addons/base_import_module/tests/test_module/test.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> +<data> + <!-- TODO: make test suite --> + <record id="base.main_company" model="res.company"> + <field name="name">The base company is noupdate=1</field> + </record> + + <record id="main_company2" model="res.company"> + <field name="name">Hagrid</field> + <field name="rml_header1">Your Company Tagline</field> + <field name="currency_id" ref="base.EUR"/> + </record> + + <template id="test_page" name="Test Page" page="True"> + <t t-call="website.layout"> + <h1> + This page comes from an imported module! + </h1> + <p> + And this static image too ! + <img src="/test_module/static/src/img/c64.png"/> + </p> + </t> + </template> + + <template id="website.homepage"> + <t t-call="website.layout"> + <div id="wrap" class="oe_structure oe_empty"> + This homepage has been overwritten by an imported module ! + <p> + <a href="/page/test_module.test_page">Link to page added by imported module</a> + </p> + </div> + </t> + </template> + + <template id="contactus_test" name="Contact Form" inherit_id="website.contactus"> + <xpath expr="//h1" position="replace"> + <h1>This contact us title has been changed by an imported module</h1> + </xpath> + </template> + +</data> +</openerp> |
