Browse Source

[FIX] get ride of the theme light

pull/7/head
houssine 5 years ago
parent
commit
6c409a9d92
  1. 2
      easy_my_coop/__manifest__.py
  2. 6
      easy_my_coop/report/cooperator_certificat_G001.xml
  3. 6
      easy_my_coop/report/cooperator_invoice_G002.xml
  4. 25
      easy_my_coop/report/cooperator_register_G001.xml
  5. 18
      easy_my_coop/report/cooperator_subscription_G001.xml

2
easy_my_coop/__manifest__.py

@ -16,7 +16,7 @@
"partner_contact_address",
"website",
"website_form_recaptcha",
"theme_light",
# "theme_light",
"email_template_config",
],
"author": "Coop IT Easy SCRLfs",

6
easy_my_coop/report/cooperator_certificat_G001.xml

@ -3,7 +3,7 @@
<data>
<template id="cooperator_certificat_G001_document">
<t t-call="theme_light.invoice_layout">
<t t-call="web.external_layout">
<div class="page">
<head>
<link href="/easy_my_coop/static/src/css/coop_report.css" rel="stylesheet"/>
@ -35,7 +35,7 @@
}
</style>
</head>
<t t-call="theme_light.invoice_header"/>
<!--<t t-call="theme_light.invoice_header"/>-->
<div class="row">
<div class="col-xs-5 col-xs-offset-7 easymy-coop-address" style="top:90px;">
@ -159,7 +159,7 @@
</template>
<template id="cooperator_certificat_G001">
<t t-call="theme_light.html_container">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="10"/>
<t t-set="data_report_header_spacing" t-value="5"/>
<t t-set="data_report_dpi" t-value="110"/>

6
easy_my_coop/report/cooperator_invoice_G002.xml

@ -3,7 +3,7 @@
<data>
<template id="theme_invoice_G002_document">
<t t-call="theme_light.invoice_layout">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang':o.partner_id.lang})" />
<div class="page">
<head>
@ -36,7 +36,7 @@
}
</style>
</head>
<t t-call="theme_light.invoice_header"/>
<!--<t t-call="theme_light.invoice_header"/>-->
<div class="row">
<div class="col-xs-5 col-xs-offset-7 easymy-coop-address" style="top:90px;">
@ -228,7 +228,7 @@
</template>
<template id="theme_invoice_G002">
<t t-call="theme_light.html_container">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="10"/>
<t t-set="data_report_header_spacing" t-value="5"/>
<t t-set="data_report_dpi" t-value="110"/>

25
easy_my_coop/report/cooperator_register_G001.xml

@ -1,23 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="cooperator_register_G001">
<t t-call="theme_light.html_container">
<odoo>
<template id="cooperator_register_G001">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="5"/>
<t t-set="data_report_header_spacing" t-value="0"/>
<t t-set="data_report_dpi" t-value="110"/>
<t t-call="theme_light.report_layout_002">
<!--<t t-call="theme_light.report_layout_002">-->
<div class="page">
<head>
<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>-->
</head>
<t t-call="theme_light.list_header_G002"/>
<!--<t t-call="theme_light.list_header_G002"/>-->
<br/><br/><br/><br/><br/>
<table class="title_table">
@ -115,14 +111,11 @@
</div>
</tr>
<t t-set="new_partner" t-value="new_partner+1"/>
</t>
</t>
</table>
</div>
</t>
</t>
</template>
</data>
</openerp>
<!--</t>-->
</template>
</odoo>

18
easy_my_coop/report/cooperator_subscription_G001.xml

@ -1,22 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<template id="cooperator_subscription_G001">
<t t-call="theme_light.html_container">
<t t-call="web.html_container">
<t t-set="data_report_margin_top" t-value="5"/>
<t t-set="data_report_header_spacing" t-value="0"/>
<t t-set="data_report_dpi" t-value="110"/>
<t t-call="theme_light.report_layout_002">
<!--<t t-call="theme_light.report_layout_002">-->
<div class="page">
<head>
<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>
<!--<link href="/theme_light/static/css/invoice_G002.css" rel="stylesheet"/>-->
</head>
<t t-call="theme_light.list_header_G002"/>
<!--<t t-call="theme_light.list_header_G002"/>-->
<br/><br/><br/><br/><br/>
@ -103,8 +101,6 @@
</table>
</div>
</t>
</t>
<!--</t>-->
</template>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save