-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OZ-196: Add the 'Ozone Settings' Odoo Add-on
- Loading branch information
Showing
9 changed files
with
101 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ozone_settings | ||
|
||
A module used for updating odoo settings for odoo | ||
|
||
### Installation | ||
|
||
To install this module, you need to: | ||
|
||
Download the module and add it to your Odoo addons folder. Afterward, | ||
log on to your Odoo server and go to the Apps menu. Trigger the debug | ||
mode and update the list by clicking on the "Update Apps List" link. Now | ||
install the module by clicking on the install button. | ||
|
||
|
||
### Upgrade | ||
|
||
To upgrade this module, you need to: | ||
|
||
Download the module and add it to your Odoo addons folder. Restart the | ||
server and log on to your Odoo server. Select the Apps menu and upgrade | ||
the module by clicking on the upgrade button. |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
|
28 changes: 28 additions & 0 deletions
28
distro/binaries/odoo/addons/ozone_settings/__manifest__.py
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- coding: utf-8 -*- | ||
{ | ||
'name': "Ozone Odoo Settings", | ||
|
||
'summary': """ | ||
Odoo Settings for ozone | ||
""", | ||
|
||
'description': """ | ||
Odoo Settings for ozone | ||
""", | ||
|
||
'author': 'enyachoke', | ||
'website': 'https://mekomsolutions.com', | ||
'license': 'MIT', | ||
'category': 'Technical Settings', | ||
'version': '14.0.1.0.0', | ||
|
||
'depends': [ | ||
'base', | ||
'sale_management' | ||
], | ||
|
||
'data': [ | ||
'data/ozone-settings.xml', | ||
'data/portal-user-template.xml' | ||
], | ||
} |
15 changes: 15 additions & 0 deletions
15
distro/binaries/odoo/addons/ozone_settings/data/ozone-settings.xml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="ozone_config_settings" model="res.config.settings"> | ||
<field name="group_uom" eval="True"/> | ||
<field name="group_product_pricelist" eval="True"/> | ||
<field name="product_pricelist_setting">advanced</field> | ||
<field name="default_invoice_policy">order</field> | ||
<field name="group_stock_multi_locations" eval="True"/> | ||
<field name="group_stock_adv_location" eval="True"/> | ||
</record> | ||
<function model="res.config.settings" name="execute"> | ||
<value model="res.config.settings" | ||
search="[('id', '=', ref('ozone_config_settings'))]"/> | ||
</function> | ||
</odoo> |
8 changes: 8 additions & 0 deletions
8
distro/binaries/odoo/addons/ozone_settings/data/portal-user-template.xml
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="base.template_portal_user_id" model="res.users"> | ||
<field name="groups_id" eval="[(6, 0, [ref('base.group_user'),ref('sales_team.group_sale_salesman_all_leads'),ref('stock.group_stock_user'),ref('account.group_account_invoice')])]"/> | ||
</record> | ||
</data> | ||
</odoo> |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# from . import res_settings |
Binary file added
BIN
+5.26 KB
distro/binaries/odoo/addons/ozone_settings/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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