Skip to content

Commit

Permalink
[MIG] product_firmware_version v11 to v12
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikul-Chaudhary committed Jun 20, 2019
1 parent cedae29 commit 730cc7a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
1 change: 1 addition & 0 deletions product_firmware_version/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Contributors
------------

* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>

Funders
-------
Expand Down
8 changes: 5 additions & 3 deletions product_firmware_version/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
{
"name": "Product firmware version",
"summary": "Store the firmware version of a part",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"category": "Product",
"website": "http://www.opensourceintegrators.com",
"depends": ["product"],
"website": "https://github.com/OCA/product-attribute",
"depends": [
"product"
],
"data": [
"views/product_view.xml",
],
Expand Down
1 change: 0 additions & 1 deletion product_firmware_version/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Copyright (C) 2017 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import product
2 changes: 2 additions & 0 deletions product_firmware_version/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Nikul Chaudhary <nikulchaudhary2112@gmail.com>
1 change: 1 addition & 0 deletions product_firmware_version/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows you to store the latest/official/tested firmware version on an electronic product.
4 changes: 4 additions & 0 deletions product_firmware_version/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* Go to Inventory > Master Data > Products
* Create or edit a product.
* Enter the firmware version and save.
* Check that the firmware version is saved and can be used to search.
10 changes: 5 additions & 5 deletions product_firmware_version/views/product_view.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0"?>
<odoo>

<!-- Product base form view -->
<record id="product_template_only_form_fm_version_view" model="ir.ui.view">
<field name="name">product.template.product.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<data>
<field name="barcode" position="after">
<field name="firmware_version"/>
</field>
</data>
<field name="barcode" position="after">
<field name="firmware_version"/>
</field>
</field>
</record>

</odoo>

0 comments on commit 730cc7a

Please # to comment.