-
-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] product_profile: Migration to 12.0
- Loading branch information
Showing
10 changed files
with
280 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
# coding: utf-8 | ||
# © 2015 David BEAL @ Akretion | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'Product Profile', | ||
'version': '10.0.1.0.0', | ||
'author': 'Akretion, Odoo Community Association (OCA)', | ||
'summary': "Allow to configure a product in 1 click", | ||
'category': 'product', | ||
'depends': [ | ||
'sale', | ||
"name": "Product Profile", | ||
"version": "12.0.1.0.0", | ||
"author": "Akretion, Odoo Community Association (OCA)", | ||
"summary": "Allow to configure a product in 1 click", | ||
"category": "product", | ||
"depends": ["sale_management"], | ||
"website": "https://github.com/oca/product-attribute", | ||
"data": [ | ||
"security/group.xml", | ||
"views/product_view.xml", | ||
"views/config_view.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
'website': 'http://www.akretion.com/', | ||
'data': [ | ||
'security/group.xml', | ||
'views/product_view.xml', | ||
'views/config_view.xml', | ||
'security/ir.model.access.csv', | ||
], | ||
'demo': [ | ||
'demo/product.profile.csv', | ||
], | ||
'installable': True, | ||
'license': 'AGPL-3', | ||
"demo": ["demo/product.profile.csv"], | ||
"installable": True, | ||
"license": "AGPL-3", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# coding: utf-8 | ||
# © 2015 David BEAL @ Akretion | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo import fields, models | ||
from .product import PROFILE_MENU | ||
|
||
|
||
class BaseConfigSettings(models.TransientModel): | ||
_inherit = 'base.config.settings' | ||
class ResConfigSettings(models.TransientModel): | ||
_inherit = "res.config.settings" | ||
|
||
group_product_profile = fields.Boolean( | ||
string="Display Product Profile fields", | ||
implied_group='product_profile.group_product_profile', | ||
implied_group="product_profile.group_product_profile_user", | ||
help="Display fields computed by product profile " | ||
"module.\nFor debugging purpose see menu\n%s" % PROFILE_MENU) | ||
"module.\nFor debugging purpose see menu\n%s" % PROFILE_MENU, | ||
) |
Oops, something went wrong.