Matthieu Dietrich @ camptocamp has proposed merging lp:~camptocamp/stock-logistic-warehouse/7.0-port-stock-orderpoint-creator-mdh into lp:stock-logistic-warehouse.
Commit message: [IMP] 7.0 version of stock_orderpoint_creator Requested reviews: Stock and Logistic Core Editors (stock-logistic-core-editors) For more details, see: https://code.launchpad.net/~camptocamp/stock-logistic-warehouse/7.0-port-stock-orderpoint-creator-mdh/+merge/220466 Port of the existing module stock_orderpoint_creator for 7.0. Modified: - view to be valid in 7.0, - removed the redefinition of the field product_id, since the product's UOM is verified by a constraint now in procurement; it's still there but mandatory. -- https://code.launchpad.net/~camptocamp/stock-logistic-warehouse/7.0-port-stock-orderpoint-creator-mdh/+merge/220466 Your team Stock and Logistic Core Editors is requested to review the proposed merge of lp:~camptocamp/stock-logistic-warehouse/7.0-port-stock-orderpoint-creator-mdh into lp:stock-logistic-warehouse.
=== modified file 'stock_orderpoint_creator/__openerp__.py' --- stock_orderpoint_creator/__openerp__.py 2013-02-13 08:46:41 +0000 +++ stock_orderpoint_creator/__openerp__.py 2014-05-21 14:09:27 +0000 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Author: Yannick Vaucher (Camptocamp) -# Copyright 2012 Camptocamp SA +# Author: Yannick Vaucher, Matthieu Dietrich (Camptocamp) +# Copyright 2012-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 @@ -22,22 +22,19 @@ {'name': 'Configuration of order point in mass', 'version': '1.0', 'author': 'Camptocamp', - 'maintainer': 'Camptocamp', 'category': 'Warehouse', + 'license': 'AGPL-3', 'complexity': 'easy', #easy, normal, expert + 'website': "http://www.camptocamp.com", 'depends': ['procurement'], 'description': """ Add a wizard to configure massively order points for multiple product""", 'website': 'http://www.openerp.com', - 'init_xml': [], - 'update_xml': ["wizard/orderpoint_creator_view.xml", "security/ir.model.access.csv"], - 'demo_xml': [], + 'demo': [], + 'data': ["wizard/orderpoint_creator_view.xml", "security/ir.model.access.csv"], 'test': [], - 'installable': False, - 'images': [], + 'installable': True, 'auto_install': False, - 'license': 'AGPL-3', - 'active': False, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: === modified file 'stock_orderpoint_creator/orderpoint_template.py' --- stock_orderpoint_creator/orderpoint_template.py 2012-05-24 14:07:16 +0000 +++ stock_orderpoint_creator/orderpoint_template.py 2014-05-21 14:09:27 +0000 @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Author: Yannick Vaucher (Camptocamp) -# Copyright 2012 Camptocamp SA +# Author: Yannick Vaucher, Matthieu Dietrich (Camptocamp) +# Copyright 2012-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 @@ -32,15 +32,6 @@ _table = 'stock_warehouse_orderpoint_template' _clean_mode = 'deactivate' - - _columns = { - 'product_id': fields.many2one('product.product', - 'Product', - required=False, - ondelete='cascade', - domain=[('type','=','product')]), - } - def _get_ids_2_clean(self, cursor, uid, template_br, product_ids, context=None): """ hook to select model specific objects to clean return must return a list of id""" === modified file 'stock_orderpoint_creator/wizard/orderpoint_creator_view.xml' --- stock_orderpoint_creator/wizard/orderpoint_creator_view.xml 2012-05-24 14:07:16 +0000 +++ stock_orderpoint_creator/wizard/orderpoint_creator_view.xml 2014-05-21 14:09:27 +0000 @@ -7,7 +7,7 @@ <field name="model">stock.warehouse.orderpoint.creator</field> <field name="type">form</field> <field name="arch" type="xml"> - <form> + <form string="Product warehouse config"> <group string="templates" colspan="4"> <field name="orderpoint_template_id" colspan="4"/> </group>
-- Mailing list: https://launchpad.net/~openerp-community-reviewer Post to : openerp-community-reviewer@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community-reviewer More help : https://help.launchpad.net/ListHelp