[IMP] stock, mrp: Improved view for 'Change standard price' wizard. Also added help for the fields used in it.

bzr revid: uco@tinyerp.com-20100726134911-qhwcl714vg26rqqu
This commit is contained in:
uco (Open ERP)
2010-07-26 19:19:11 +05:30
parent c5456b325c
commit 30d26c9d9b
3 changed files with 9 additions and 3 deletions
@@ -26,7 +26,8 @@ class change_standard_price(osv.osv_memory):
_description = "Change Standard Price"
_columns = {
'change_parent_price': fields.boolean('Change Parent Price'),
'change_parent_price': fields.boolean('Change Parent Price', help="This will change the price of parent products also "
"according to the BoM structure specified for the product."),
}
@@ -26,7 +26,10 @@ class change_standard_price(osv.osv_memory):
_name = "stock.change.standard.price"
_description = "Change Standard Price"
_columns = {
'new_price': fields.float('Price', required=True),
'new_price': fields.float('Price', required=True,
help="If cost price is increased, stock variation account will be debited "
"and stock output account will be credited with the value = (difference of amount * quantity available).\n"
"If cost price is decreased, it will do vice-versa."),
'stock_account_input':fields.many2one('account.account', 'Stock Input Account'),
'stock_account_output':fields.many2one('account.account', 'Stock Output Account'),
'stock_journal':fields.many2one('account.journal', 'Stock journal', required=True),
@@ -7,7 +7,9 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Change Standard Price">
<field name="new_price"/>
<separator string="Change Price" colspan="4"/>
<newline/>
<field name="new_price" string="Cost Price"/>
<separator string="" colspan="4" />
<label string="" colspan="2"/>
<group col="2" colspan="2">