From 0b13675dc7a94e415b1a2b0319dc79e14f52f95a Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 24 Jul 2015 08:48:36 +0200 Subject: [PATCH] [REF] OCA convention : module description; --- product_replenishment_cost/README.rst | 47 ++++++++++++++++++ product_replenishment_cost/__openerp__.py | 58 +++++++---------------- 2 files changed, 65 insertions(+), 40 deletions(-) create mode 100644 product_replenishment_cost/README.rst diff --git a/product_replenishment_cost/README.rst b/product_replenishment_cost/README.rst new file mode 100644 index 00000000..5333a0fe --- /dev/null +++ b/product_replenishment_cost/README.rst @@ -0,0 +1,47 @@ +Product Replenishment Cost +========================== + +Provides an overridable method on product which compute the Replenishment cost +of a product. By default it just returns the value of "Cost price" field, but +using the product_cost_incl_bom module, it will return the costing from the +bom. + +As it is a generic module, you can also setup your own way of computing the +replenishment_cost for your product. + +All OCA modules to compute margins are based on it, so you'll be able to use +them in your own way. + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + +Credits +======= + +Contributors +------------ + +* Alexandre Fayolle +* Yannick Vaucher +* Joël Grand-Guillaume +* Sylvain Le Gal (https://twitter.com/legalsylvain) + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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/product_replenishment_cost/__openerp__.py b/product_replenishment_cost/__openerp__.py index 05b456f0..1f7238dc 100644 --- a/product_replenishment_cost/__openerp__.py +++ b/product_replenishment_cost/__openerp__.py @@ -18,43 +18,21 @@ # along with this program. If not, see . # ############################################################################## -{'name': 'Replenishment cost', - 'version': '1.0.3', - 'author': "Camptocamp,Odoo Community Association (OCA)", - 'maintainer': 'Camptocamp', - 'category': 'Products', - 'depends': [ - 'product', - ], - 'description': """ -Product Replenishment Cost -========================== - -Provides an overridable method on product which compute the Replenishment cost -of a product. By default it just returns the value of "Cost price" field, but -using the product_cost_incl_bom module, it will return the costing from the -bom. - -As it is a generic module, you can also setup your own way of computing the -cost_price for your product. - -All OCA modules to compute margins are based on it, so you'll be able to use -them in your own way. - -Contributors ------------- - -* Alexandre Fayolle -* Yannick Vaucher -* Joël Grand-Guillaume - """, - 'website': 'http://www.camptocamp.com/', - 'data': [ - 'views/view.xml', - 'demo/res_groups.yml', - ], - 'test': [ - 'test/cost_price_update.yml', - ], - 'license': 'AGPL-3', - } +{ + 'name': 'Replenishment cost', + 'version': '2.0', + 'author': "Camptocamp,GRAP,Odoo Community Association (OCA)", + 'category': 'Products', + 'depends': [ + 'product', + ], + 'website': 'http://www.camptocamp.com/', + 'data': [ + 'views/view.xml', + 'demo/res_groups.yml', + ], + 'test': [ + 'test/cost_price_update.yml', + ], + 'license': 'AGPL-3', +}