-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
644 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
NGO - Purchase | ||
============== | ||
|
||
This is a glue module to define a specific view of Purchase Order | ||
for NGO verticalization. The new view is meant to give consistency with | ||
Logistics Order and Logistics Requests views. | ||
|
||
|
||
Contributors | ||
------------ | ||
|
||
* Yannick Vaucher <yannick.vaucher@camptocamp.com> | ||
|
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,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import model |
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,44 @@ | ||
# -*- 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": "1.0", | ||
"author": "Camptocamp", | ||
"license": "AGPL-3", | ||
"category": "Purchase Management", | ||
'complexity': "normal", | ||
"images": [], | ||
"website": "http://www.camptocamp.com", | ||
"depends": ["framework_agreement", | ||
"framework_agreement_requisition", | ||
"purchase_origin_address", | ||
"purchase_requisition", | ||
"purchase_requisition_bid_selection", | ||
"purchase_rfq_bid_workflow", | ||
"purchase_transport_document", | ||
], | ||
"demo": [], | ||
"data": ["view/purchase_order.xml", | ||
], | ||
"test": [], | ||
'installable': True, | ||
'auto_install': False, | ||
} |
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,254 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * ngo_purchase | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2014-11-11 13:29+0000\n" | ||
"PO-Revision-Date: 2014-11-11 13:29+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "(update)" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: help:purchase.order,req_bid_tendering_mode:0 | ||
msgid "- Restricted : you select yourself the bidders and generate a RFQ for each of those. \n" | ||
"- Open : anybody can bid (you have to advertise the call for bids) and you directly encode the bids you received. You are still able to generate RFQ if you want to contact usual bidders." | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Accounting and Currency" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Approve Order" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "Bid Encoded" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Bid Information" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Bid Received" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: field:purchase.order,req_bid_tendering_mode:0 | ||
msgid "Call for Bids Mode" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Confirm Order" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "Convert to PO" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Delivery Remarks" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Manually Corrected" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: selection:purchase.order,req_bid_tendering_mode:0 | ||
msgid "Open" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Print RFQ" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Products" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: model:ir.model,name:ngo_purchase.model_purchase_order | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Purchase Order" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Purchase Order Lines" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Re-Print RFQ" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Re-Send RFQ by Email" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "Reason for Cancellation:" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Receive Invoice" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Receive Products" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "Reset to Draft RFQ" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: selection:purchase.order,req_bid_tendering_mode:0 | ||
msgid "Restricted" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "Send Draft PO by Email" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Send PO by Email" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Send RFQ by Email" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Set to Draft" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Terms and conditions..." | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Transport Documents" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Transportation and Delivery" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "Validation" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "cancel,draftpo" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "draft,confirmed,sent,bid,draftbid,draftpo" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "draft,sent,bid,draftpo,approved,done" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "draftpo" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "object" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "onchange_picking_type_id(picking_type_id)" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.add_onchange_on_purchase_order_form | ||
msgid "onchange_price(price_unit, parent.framework_agreement_id, product_qty, parent.pricelist_id, product_id)" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "sent,draftbid" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_order_form | ||
msgid "validated on" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.add_onchange_on_purchase_order_form | ||
msgid "{'agreement_id': framework_agreement_id}" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.add_onchange_on_purchase_order_form | ||
msgid "{'agreement_id': parent.framework_agreement_id}" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.view_purchase_order_form | ||
msgid "{'invisible': ['|', ('requisition_id','!=',False)]}" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.add_onchange_on_purchase_order_form | ||
msgid "{'order_line_ids': order_line}" | ||
msgstr "" | ||
|
||
#. module: ngo_purchase | ||
#: view:purchase.order:ngo_purchase.purchase_rfq_bid_workflow_view_purchase_order_form | ||
msgid "{'order_type': parent.type}" | ||
msgstr "" | ||
|
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,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import purchase_order |
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,40 @@ | ||
# -*- 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/>. | ||
# | ||
# | ||
from openerp import models, fields | ||
|
||
|
||
class PurchaseOrder(models.Model): | ||
_inherit = 'purchase.order' | ||
|
||
req_bid_tendering_mode = fields.Selection( | ||
[('open', 'Open'), | ||
('restricted', 'Restricted')], | ||
'Call for Bids Mode', | ||
readonly=True, | ||
help="- Restricted : you select yourself the bidders and generate a " | ||
"RFQ for each of those. \n- Open : anybody can bid (you have to " | ||
"advertise the call for bids) and you directly encode the bids " | ||
"you received. You are still able to generate RFQ if you want to " | ||
"contact usual bidders.") | ||
req_date_end = fields.Datetime( | ||
related='requisition_id.date_end', | ||
string="Bid Submission Deadline", | ||
readonly=True) |
Empty file.
Oops, something went wrong.