From 53778d4d998e9c5cbe004dd441fa1d9420673281 Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Thu, 30 May 2013 16:43:21 +0200 Subject: [PATCH] [add] stock_optional_valuation - skeleton --- stock_optional_valuation/AUTHORS.txt | 1 + stock_optional_valuation/__init__.py | 21 +++++++++++++ stock_optional_valuation/__openerp__.py | 40 +++++++++++++++++++++++++ stock_optional_valuation/stock.py | 22 ++++++++++++++ stock_optional_valuation/stock_view.xml | 5 ++++ 5 files changed, 89 insertions(+) create mode 100644 stock_optional_valuation/AUTHORS.txt create mode 100644 stock_optional_valuation/__init__.py create mode 100644 stock_optional_valuation/__openerp__.py create mode 100644 stock_optional_valuation/stock.py create mode 100644 stock_optional_valuation/stock_view.xml diff --git a/stock_optional_valuation/AUTHORS.txt b/stock_optional_valuation/AUTHORS.txt new file mode 100644 index 000000000..7106ca0eb --- /dev/null +++ b/stock_optional_valuation/AUTHORS.txt @@ -0,0 +1 @@ +Lorenzo Battistini diff --git a/stock_optional_valuation/__init__.py b/stock_optional_valuation/__init__.py new file mode 100644 index 000000000..fcb730754 --- /dev/null +++ b/stock_optional_valuation/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2013 Agile Business Group sagl () +# +# 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 . +# +############################################################################## + +import stock diff --git a/stock_optional_valuation/__openerp__.py b/stock_optional_valuation/__openerp__.py new file mode 100644 index 000000000..e12e7013b --- /dev/null +++ b/stock_optional_valuation/__openerp__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2013 Agile Business Group sagl () +# +# 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': "Stock optional valuation", + 'version': '0.1', + 'category': 'Warehouse Management', + 'description': """ +You can choose which stock moves have to generate inventory valutanion accounting entries, by specifying it in the location form. +""", + 'author': 'Agile Business Group', + 'website': 'http://www.agilebg.com', + 'license': 'AGPL-3', + "depends" : ['stock'], + "data" : [ + "stock_view.xml", + ], + "demo" : [], + 'test': [ + ], + "active": False, + "installable": True +} diff --git a/stock_optional_valuation/stock.py b/stock_optional_valuation/stock.py new file mode 100644 index 000000000..5c6ab3230 --- /dev/null +++ b/stock_optional_valuation/stock.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2013 Agile Business Group sagl () +# +# 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.osv import fields, orm +from openerp.tools.translate import _ diff --git a/stock_optional_valuation/stock_view.xml b/stock_optional_valuation/stock_view.xml new file mode 100644 index 000000000..d36ec6161 --- /dev/null +++ b/stock_optional_valuation/stock_view.xml @@ -0,0 +1,5 @@ + + + + +