Skip to content

Commit

Permalink
[MIG] product_brand: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thaolt99 committed Dec 5, 2023
1 parent ed322e3 commit 70b15d6
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 26 deletions.
12 changes: 11 additions & 1 deletion product_brand/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Product Brand Manager
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cc6c738f1a0965738f7b03f5df4de2ded7be5cd39e1185baa7822c484540cb16
!! source digest: sha256:24090b5b053ab0f7be3c186a742088619f15b740257c233b7a0b3fc2195b3808
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
Expand Down Expand Up @@ -120,6 +120,16 @@ Contributors

- Eric Antones <eantones@nuobit.com>

- `Trobz <https://trobz.com>`__:

- Thao Le <thaolt@trobz.com>

Other credits
-------------

The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp.

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion product_brand/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{
"name": "Product Brand Manager",
"version": "16.0.1.0.2",
"version": "17.0.1.0.0",
"development_status": "Mature",
"category": "Product",
"summary": "Product Brand Manager",
Expand Down
16 changes: 0 additions & 16 deletions product_brand/migrations/16.0.1.0.0/post-migrate.py

This file was deleted.

2 changes: 2 additions & 0 deletions product_brand/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
- Alan Ramos
- [NuoBiT Solutions](https://www.nuobit.com)
- Eric Antones \<<eantones@nuobit.com>\>
- [Trobz](https://trobz.com):
- Thao Le \<<thaolt@trobz.com>\>
1 change: 1 addition & 0 deletions product_brand/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The migration of this module from 16.0 to 17.0 was financially supported by Camptocamp.
17 changes: 13 additions & 4 deletions product_brand/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Product Brand Manager</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:cc6c738f1a0965738f7b03f5df4de2ded7be5cd39e1185baa7822c484540cb16
!! source digest: sha256:24090b5b053ab0f7be3c186a742088619f15b740257c233b7a0b3fc2195b3808
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/brand/tree/17.0/product_brand"><img alt="OCA/brand" src="https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-product_brand"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/brand&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows odoo users to easily manage product brands.</p>
Expand All @@ -380,7 +379,8 @@ <h1 class="title">Product Brand Manager</h1>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
<li><a class="reference internal" href="#other-credits" id="toc-entry-7">Other credits</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -468,10 +468,19 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Eric Antones &lt;<a class="reference external" href="mailto:eantones&#64;nuobit.com">eantones&#64;nuobit.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://trobz.com">Trobz</a>:<ul>
<li>Thao Le &lt;<a class="reference external" href="mailto:thaolt&#64;trobz.com">thaolt&#64;trobz.com</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="other-credits">
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
<p>The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp.</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
Expand Down
8 changes: 4 additions & 4 deletions product_brand/views/product_brand_view.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="product_brand_search_form_view" model="ir.ui.view">
<field name="name">product.brand.search.form</field>
Expand All @@ -21,7 +21,7 @@
<field name="res_model">product.brand</field>
<field name="view_mode">kanban,form,tree</field>
<field name="target">current</field>
<field name="domain">[('product_ids', 'in', active_id)]</field>
<field name="domain">[('product_ids', 'in', id)]</field>
</record>
<record id="view_product_brand_form" model="ir.ui.view">
<field name="name">product.brand.form</field>
Expand All @@ -35,12 +35,12 @@
type="action"
class="oe_stat_button"
icon="fa-cubes"
context="{'default_product_brand_id': id}"
>
<field
name="products_count"
widget="statinfo"
string="Products"
context="{'default_product_brand_id': active_id}"
/>
</button>
</div>
Expand Down Expand Up @@ -166,7 +166,7 @@
<field name="inherit_id" ref="product.product_kanban_view" />
<field name="arch" type="xml">
<xpath
expr="//div[hasclass('oe_kanban_details')]/strong[1]"
expr="//div[hasclass('oe_kanban_details')]//strong[1]"
position="after"
>
<div>
Expand Down

0 comments on commit 70b15d6

Please sign in to comment.