Skip to content

Commit

Permalink
[MIG]Migrated Business Requirement Deliverable Resource Template Cate…
Browse files Browse the repository at this point in the history
…g from 8.0 to 10.0. (OCA#237)
  • Loading branch information
sudhir-serpentcs authored and Ruter Lv committed Mar 22, 2019
1 parent 01790b5 commit 72bc918
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Business Requirement
Introduction
============

This module is part of a set of modules (`Business Requirements <https://github.com/OCA/business-requirement/blob/8.0/README.md>`_)
This module is part of a set of modules (`Business Requirements <https://github.com/OCA/business-requirement/blob/10.0/README.md>`_)

This module adds the following features particularly useful for sales package with standard resources:

Expand Down Expand Up @@ -55,7 +55,7 @@ Usage

.. figure:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/222/8.0
:target: https://runbot.odoo-community.org/runbot/222/10.0


Bug Tracker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'category': 'Business Requirements Management',
'summary': """Manage default resource lines categories in your
deliverable templates""",
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'website': 'https://www.elico-corp.com/',
"author": "Elico Corp, Odoo Community Association (OCA)",
'depends': [
Expand All @@ -26,5 +26,5 @@
"business_requirement_deliverable_resource_template_categ_demo.xml",
],
'license': 'AGPL-3',
'installable': False,
'installable': True,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<odoo>
<data noupdate="1">

<record id="business_requirement_deliverable_resource_template.resource_template_06"
Expand All @@ -24,4 +24,4 @@
</record>

</data>
</openerp>
</odoo>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# © 2017 Elico Corp (https://www.elico-corp.com).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import fields, models
from odoo import fields, models


class BusinessRequirementResourceTemplate(models.Model):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id"
ref="business_requirement_deliverable_resource_template.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='resource_lines']/tree[@editable='top']/field[@name='name']"
position="after">
<field name="categ_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
<odoo>

<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id"
ref="business_requirement_deliverable_resource_template.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='resource_lines']/tree[@editable='top']/field[@name='name']"
position="after">
<field name="categ_id"/>
</xpath>
</field>
</record>

</odoo>

0 comments on commit 72bc918

Please sign in to comment.