Skip to content

Commit 9bb4d33

Browse files
committed
Migration to v9
1 parent d78bec0 commit 9bb4d33

File tree

6 files changed

+181
-195
lines changed

6 files changed

+181
-195
lines changed

website_supplier_list/README.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installation
1414

1515
To install this module, you need to:
1616

17-
1. Clone the branch 8.0 of the repository https://github.com/OCA/website
17+
1. Clone the branch 9.0 of the repository https://github.com/OCA/website
1818
2. Add the path to this repository in your configuration (addons-path)
1919
3. Update the module list
2020
4. Go to menu *Setting -> Modules -> Local Modules*
@@ -32,7 +32,7 @@ To use this module, you need to:
3232

3333
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
3434
:alt: Try me on Runbot
35-
:target: https://runbot.odoo-community.org/runbot/186/8.0
35+
:target: https://runbot.odoo-community.org/runbot/186/9.0
3636

3737

3838
Bug Tracker
@@ -41,11 +41,7 @@ Bug Tracker
4141
Bugs are tracked on `GitHub Issues
4242
<https://github.com/OCA/website/issues>`_. In case of trouble, please
4343
check there if your issue has already been reported. If you spotted it first,
44-
help us smashing it by providing a detailed and welcomed `feedback
45-
<https://github.com/OCA/
46-
website/issues/new?body=module:%20
47-
website_supplier_list%0Aversion:%20
48-
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
44+
help us smashing it by providing a detailed and welcomed feedback.
4945

5046

5147
Credits

website_supplier_list/__openerp__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{
66
'name': 'Website Supplier List',
7-
'version': '8.0.1.0.0',
7+
'version': '9.0.1.0.0',
88
'summary': 'Publish Your Suppliers References',
99
'author': 'OpenSynergy Indonesia,Odoo Community Association (OCA)',
1010
'website': 'https://github.com/mikevhe18',
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<openerp>
3-
<data>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<odoo>
43
<record id="rule_website_supplier_list_public" model="ir.rule">
54
<field name="name">Website Supplier List: Public</field>
65
<field name="model_id" ref="base.model_res_partner"/>
@@ -11,5 +10,4 @@
1110
<field name="perm_create" eval="False"/>
1211
<field name="perm_unlink" eval="False"/>
1312
</record>
14-
</data>
15-
</openerp>
13+
</odoo>
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?xml version="1.0"?>
2-
<openerp>
3-
<data>
4-
<template id="assets_frontend" inherit_id="website.assets_frontend">
5-
<xpath expr="." position="inside">
6-
<link type="text/css"
7-
href="/website_supplier_list/static/src/css/website_supplier_list.css"
8-
rel="stylesheet"/>
9-
</xpath>
10-
</template>
11-
</data>
12-
</openerp>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<odoo>
3+
<template id="assets_frontend" inherit_id="website.assets_frontend">
4+
<xpath expr="." position="inside">
5+
<link type="text/css"
6+
href="/website_supplier_list/static/src/css/website_supplier_list.css"
7+
rel="stylesheet"/>
8+
</xpath>
9+
</template>
10+
</odoo>
Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
<?xml version="1.0"?>
2-
<openerp>
3-
<data>
4-
5-
<record model="ir.ui.view" id="website_supplier_form_view">
6-
<field name="name">Website Supplier</field>
7-
<field name="model">res.partner</field>
8-
<field name="inherit_id" ref="website_partner.view_partners_form_website"/>
9-
<field name="arch" type="xml">
10-
<field name="website_published" position="after">
11-
<field name="website_supplier_published" class="pull-left" widget="website_button"
12-
attrs="{'invisible': [('supplier','=', False)]}"/>
13-
</field>
14-
</field>
15-
</record>
16-
17-
</data>
18-
</openerp>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<odoo>
3+
<record model="ir.ui.view" id="website_supplier_form_view">
4+
<field name="name">Website Supplier</field>
5+
<field name="model">res.partner</field>
6+
<field name="inherit_id" ref="website_partner.view_partners_form_website"/>
7+
<field name="arch" type="xml">
8+
<xpath expr="//field[@name='website_published']" position="after">
9+
<field name="website_supplier_published" class="pull-left" widget="website_button"
10+
attrs="{'invisible': [('supplier','=', False)]}"/>
11+
</xpath>
12+
</field>
13+
</record>
14+
</odoo>

0 commit comments

Comments
 (0)