diff --git a/vertical_ngo/README.rst b/vertical_ngo/README.rst new file mode 100644 index 00000000..b7f11e48 --- /dev/null +++ b/vertical_ngo/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :alt: License: AGPL-3 + +Odoo Verticalisation for NGO Application +======================================== + +This application allows you to configure the Odoo Verticalization for Non +Government Organizations (NGO). + +Installation +============ + +To install, make sure that you have modules from the following OCA repositories +available: + +* department (https://github.com/OCA/department/) +* purchase-workflow (https://github.com/OCA/purchase-workflow) +* sale-workflow (https://github.com/OCA/sale-workflow) +* stock-logistics-workflow (https://github.com/OCA/stock-logistics-workflow) +* stock-logistics-transport (https://github.com/OCA/stock-logistics-transport) + +Configuration +============= + +To configure this module, go to Settings -> NGO and perform the required +configuration. + + +Credits +======= + +Contributors +------------ +* Alexandre Fayolle + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/vertical_ngo/__init__.py b/vertical_ngo/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/vertical_ngo/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/vertical_ngo/__openerp__.py b/vertical_ngo/__openerp__.py new file mode 100644 index 00000000..08d82839 --- /dev/null +++ b/vertical_ngo/__openerp__.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright 2015 Camptocamp SA +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +{"name": "Vertical NGO", + "summary": "Odoo NGO Verticalization", + "version": "0.1", + "author": "Camptocamp,Odoo Community Association (OCA)", + "license": "AGPL-3", + "category": "Purchase Management", + "images": [], + "website": "http://www.camptocamp.com", + "depends": [], + "demo": [], + "data": ['view/vertical_ngo.xml', + ], + 'installable': True, + "auto_install": False, + "application": True + } diff --git a/vertical_ngo/models/__init__.py b/vertical_ngo/models/__init__.py new file mode 100644 index 00000000..ab480f8b --- /dev/null +++ b/vertical_ngo/models/__init__.py @@ -0,0 +1 @@ +from . import res_config diff --git a/vertical_ngo/models/res_config.py b/vertical_ngo/models/res_config.py new file mode 100644 index 00000000..170398ed --- /dev/null +++ b/vertical_ngo/models/res_config.py @@ -0,0 +1,83 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright 2015 Camptocamp SA +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from openerp import models, fields + +class ngo_config_settings(models.TransientModel): + _name = 'ngo.config.settings' + _inherit = 'res.config.settings' + + module_framework_agreement_requisition = fields.Boolean( + 'Create tenders to negociate a framework agreements', + help="To allow your NGO to manage tenders when negociating " + "framework agreements from possible suppliers." + ) + module_framework_agreement_sourcing = fields.Boolean( + 'Allow to source a logistics requisition with a framework agreement', + help="if your NGO has framework agreements with suppliers " + "which you use to source logistics requisitions." + ) + module_logistic_budget = fields.Boolean( + 'Manage budget on logistics requisitions and cost estimates', + help="adds the notion of budget and budget holer on logistics " + "requisitions and logistics orders." + ) + module_logistic_order_donation = fields.Boolean( + 'Manage in-kind donations', + help="if your NGO has to manage logistics orders which are " + "in-kind donations from other partners." + ) + module_logistic_order_multicurrency = fields.Boolean( + 'Manage multiple currencies for logistics orders', + help="to display the amount of the logistics order " + "in the company currency using the exchange rate at " + "the date of the order." + ) + module_logistic_requisition = fields.Boolean( + 'Manage logistics requisitions and logistics orders', + help="A Logistics requisition express a need that is " + "requested somewhere. It allows to manage the sourcing " + "of the needs before making a cost estimate to the requestor." + ) + module_logistic_requisition_donation = fields.Boolean( + 'Manage donor stock dispatches as logistics requisitions', + help="to create logistics requisition to dispatch stock " + "stored in your warehouse and owned by other entities." + ) + module_logistic_requisition_multicurrency = fields.Boolean( + 'Manage multiple currencies for logistics requisitions', + help="to display the amounts on logistics requisitions in " + "company currency.\n" + "The amounts are converted from requisition currency to " + "company currency at rates of requisition date.") + module_ngo_purchase_requisition = fields.Boolean( + 'Manage purchase requisitions', + help="to use the updated bid selection process") + module_ngo_purchase = fields.Boolean( + 'Manage purchases and framework agreements', + help="to manage purchases with a RFQ / Bid workflow, and " + "various international transport documents on your purchase orders." + ) + module_ngo_shipment_plan = fields.Boolean( + 'Manage shipment plans', + help="to follow the shipment of your logistics orders and manage " + "transit locations." + ) + diff --git a/vertical_ngo/view/vertical_ngo.xml b/vertical_ngo/view/vertical_ngo.xml new file mode 100644 index 00000000..25a2441c --- /dev/null +++ b/vertical_ngo/view/vertical_ngo.xml @@ -0,0 +1,122 @@ + + + + + + Configure NGO + ngo.config.settings + +
+
+
+ + + + + + + + + + +
+
+ + + Configure NGO + ir.actions.act_window + ngo.config.settings + form + inline + + + + + +
+