[IMP]Rename stock_complex_route to stock_dropshipping. Added option for stock_dropshipping on warehouse configuration as well as purchase configuration

bzr revid: pza@tinyerp.com-20131203134448-v7stzse4y5upx3c1
This commit is contained in:
Pooja Zankhariya (OpenERP) 2013-12-03 18:44:48 +05:00
parent 2a2ef2fe4b
commit 093f489b06
13 changed files with 24 additions and 4 deletions

View File

@ -63,6 +63,9 @@ class purchase_config_settings(osv.osv_memory):
'group_analytic_account_for_purchases': fields.boolean('Analytic accounting for purchases',
implied_group='purchase.group_analytic_accounting',
help="Allows you to specify an analytic account on purchase orders."),
'module_stock_dropshipping': fields.boolean("Manage dropship route",
help='\nCreates the dropship route and add more complex tests'
'-This installs the module stock_dropshipping.'),
}
_defaults = {

View File

@ -80,6 +80,16 @@
</div>
</div>
</group>
<separator string="Location &amp; Warehouse"/>
<group>
<label for="id" string="Routes"/>
<div>
<div>
<field name="module_stock_dropshipping" class="oe_inline"/>
<label for="module_stock_dropshipping"/>
</div>
</div>
</group>
</form>
</field>
</record>

View File

@ -75,6 +75,9 @@ This installs the module product_expiry."""),
implied_group='stock.group_adv_location',
help="""This option supplements the warehouse application by effectively implementing Push and Pull inventory flows. """),
'decimal_precision': fields.integer('Decimal precision on weight', help="As an example, a decimal precision of 2 will allow weights like: 9.99 kg, whereas a decimal precision of 4 will allow weights like: 0.0231 kg."),
'module_stock_dropshipping': fields.boolean("Manage dropship route",
help='\nCreates the dropship route and add more complex tests'
'-This installs the module stock_dropshipping.'),
}
def get_default_dp(self, cr, uid, fields, context=None):

View File

@ -78,6 +78,10 @@
<field name="group_stock_adv_location" class="oe_inline"/>
<label for="group_stock_adv_location"/>
</div>
<div>
<field name="module_stock_dropshipping" class="oe_inline"/>
<label for="module_stock_dropshipping"/>
</div>
</div>
</group>
<group>

View File

@ -20,10 +20,10 @@
##############################################################################
{
'name': 'Complex routes when using stock locations, purchase and sale',
'name': 'Dropship route when using stock locations, purchase and sale',
'version': '1.0',
'category': 'Hidden',
'summary': 'Complex routes',
'summary': 'Dropship route',
'description': """
Manage sales quotations and stock_location
==========================================
@ -36,7 +36,7 @@ This adds a route on the sales order and sales order line (mini module)
'images': [],
'depends': ['purchase', 'sale_stock'],
'init_xml': [],
'data': ['stock_complex_routes.xml'],
'data': ['stock_dropshipping.xml'],
'demo_xml': [],
'test': [
'test/cancellation_propagated.yml',

View File

@ -32,7 +32,7 @@ It creates 3 warehouses
""",
'author': 'OpenERP SA',
'images': [],
'depends': ['stock_complex_routes'],
'depends': ['stock_dropshipping'],
'data': [],
'demo': [
'stock_multi_warehouse.yml'