Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions ngo_purchase/LICENSE/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-*- coding: utf-8 -*-


Author: Yannick Vaucher
Copyright 2014 Camptocamp SA
Copyright 2017 Serpent Consulting Services Pvt. Ltd.

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 <http://www.gnu.org/licenses/>.
1 change: 1 addition & 0 deletions ngo_purchase/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Contributors
------------

* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>

4 changes: 3 additions & 1 deletion ngo_purchase/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# -*- coding: utf-8 -*-
from . import model
# See LICENSE file for full copyright and licensing details.

from . import models
72 changes: 28 additions & 44 deletions ngo_purchase/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,45 +1,29 @@
# -*- coding: utf-8 -*-
#
#
# Author: Yannick Vaucher
# Copyright 2014 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 <http://www.gnu.org/licenses/>.
#
#
{"name": "NGO - Purchase Order",
"summary": "Base Purchase Order view for NGO",
"version": "8.0.1.2.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Purchase Management",
'complexity': "normal",
"images": [],
"website": "http://www.camptocamp.com",
"depends": ["framework_agreement",
"framework_agreement_requisition",
"purchase_origin_address",
"purchase_delivery_address",
"purchase_requisition",
"purchase_requisition_bid_selection",
"purchase_rfq_bid_workflow",
"purchase_transport_document",
],
"demo": [],
"data": ["view/purchase_order.xml",
],
"test": [],
'installable': False,
'auto_install': False,
}
# See LICENSE file for full copyright and licensing details.

{
'name': 'NGO - Purchase Order',
'summary': 'Base Purchase Order view for NGO',
'version': '10.0.1.0.0',
'author': 'Camptocamp,Odoo Community Association (OCA), \
Serpent Consulting Services Pvt. Ltd.',
'category': 'Purchase Management',
'complexity': 'normal',
'website': 'http://www.camptocamp.com',
'license': 'LGPL-3',
'depends': [
'framework_agreement',
'framework_agreement_requisition',
'purchase_origin_address',
'purchase_delivery_address',
'purchase_requisition',
'purchase_requisition_bid_selection',
'purchase_rfq_bid_workflow',
'purchase_transport_document',
],
'data': [
'views/purchase_order.xml',
],
'installable': True,
'auto_install': False,
}
2 changes: 0 additions & 2 deletions ngo_purchase/model/__init__.py

This file was deleted.

40 changes: 0 additions & 40 deletions ngo_purchase/model/purchase_order.py

This file was deleted.

4 changes: 4 additions & 0 deletions ngo_purchase/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# See LICENSE file for full copyright and licensing details.

from . import purchase_order
23 changes: 23 additions & 0 deletions ngo_purchase/models/purchase_order.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# See LICENSE file for full copyright and licensing details.

from odoo import fields, models


class PurchaseOrder(models.Model):
_inherit = 'purchase.order'

req_bid_tendering_mode = fields.Selection(
related='requisition_id.bid_tendering_mode',
selection=[('open', 'Open'),
('restricted', 'Restricted')],
string='Call for Bids Mode',
readonly=True,
help="Call for Bids mode of the requisition from which this RFQ was "
"generated\n- Restricted: Only the Tender's creator can select "
"bidders and generate a RFQ for each of those.\n"
"- Open : anybody can bid.")
req_date_end = fields.Datetime(
related='requisition_id.date_end',
string="Bid Submission Deadline",
readonly=True)
Empty file removed ngo_purchase/purchase_order.py
Empty file.
51 changes: 51 additions & 0 deletions ngo_purchase/static/description/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Vertical NGO</h2>
<h2 class="oe_slogan">Requests for Quotations</h2>
<div class="oe_span6">
<p class="oe_mt32">
This is the main page where request for quotation, it includes purchase
agreement, portfolio, pricelist, terms and conditions, currency,
and products,purchase order and quotation request are similar to each other.
</p>
</div>
<div class="oe_span6">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="ngo2.png">
</div>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Purchase Order</h2>
<div class="oe_span6">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="ngo3.png">
</div>
</div>
<div class="oe_span6">
<p class="oe_mt32">
Create purchase orders to which you can add brief records or generic charges and fees
</p>
</div>
</div>
</section>

<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Purchase Agreement</h2>
<div class="oe_span6">
<p class="oe_mt32">
This is the page where you can used to transfer the ownership of a business from a seller to a buyer.This page shows the agreement status too.
</p>
</div>
<div class="oe_span6">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="ngo1.png">
</div>
</div>
</div>
</section>
Binary file added ngo_purchase/static/description/ngo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ngo_purchase/static/description/ngo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ngo_purchase/static/description/ngo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading