[FIX] stock_landed_cost: setting option appears at the right place in the right moment

bzr revid: qdp-launchpad@openerp.com-20140424085838-nzk6p11ncitvkbta
This commit is contained in:
Quentin (OpenERP) 2014-04-24 10:58:38 +02:00
parent a9aa264355
commit 19dad8973c
5 changed files with 7 additions and 13 deletions

View File

@ -110,8 +110,6 @@ This installs the module product_expiry."""),
help='\nCreates the dropship route and add more complex tests'
'-This installs the module stock_dropshipping.'),
'module_stock_picking_wave': fields.boolean('Manage picking wave', help='Install the picking wave module which will help you grouping your pickings and processing them in batch'),
'module_stock_landed_costs': fields.boolean("Calculate landed costs on products",
help="""Install the module that allows to affect landed costs on pickings, and split them onto the different products."""),
}
def onchange_adv_location(self, cr, uid, ids, group_stock_adv_location, context=None):

View File

@ -44,16 +44,6 @@
</div>
</div>
</group>
<separator string="Accounting"/>
<group>
<label for="id" string="Accounting"/>
<div>
<div>
<field name="module_stock_landed_costs" class="oe_inline"/>
<label for="module_stock_landed_costs"/>
</div>
</div>
</group>
<separator string="Location &amp; Warehouse"/>
<group>
<label for="id" string="Logistic"/>

View File

@ -34,6 +34,8 @@ class stock_config_settings(osv.osv_memory):
help='This allows to automatically launch the invoicing wizard if the delivery is '
'to be invoiced when you send or deliver goods.\n'
'-This installs the module stock_invoice_directly.'),
'module_stock_landed_costs': fields.boolean("Calculate landed costs on products",
help="""Install the module that allows to affect landed costs on pickings, and split them onto the different products."""),
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -18,6 +18,10 @@
<field name="module_stock_invoice_directly" class="oe_inline"/>
<label for="module_stock_invoice_directly"/>
</div>
<div>
<field name="module_stock_landed_costs" class="oe_inline"/>
<label for="module_stock_landed_costs"/>
</div>
</div>
</group>
</xpath>

View File

@ -32,7 +32,7 @@
'website': 'http://www.openerp.com',
'images': [],
'depends': ['stock_account'],
'category': 'Hidden',
'category': 'Warehouse Management',
'sequence': 16,
'demo': [
],