19 lines
910 B
XML
19 lines
910 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<record id="view_company_form" model="ir.ui.view">
|
|
<field name="name">res.company.form.inherit.account</field>
|
|
<field name="model">res.company</field>
|
|
<field name="inherit_id" ref="base.view_company_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='vat']" position="before">
|
|
<field name="bg_image" widget="image"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<template id="custom_bg_image" name="Frontend Layout Image" inherit_id="web.frontend_layout">
|
|
<xpath expr="//div[@id='wrapwrap']" position="attributes">
|
|
<attribute name="t-attf-style">#{"background: transparent url('/dashboard') no-repeat scroll center center / cover;" if response_template == 'web.login' or 'auth_signup.signup' else ''}</attribute>
|
|
</xpath>
|
|
</template>
|
|
</odoo> |