[IMP]all: improve some tool-tip
bzr revid: mma@tinyerp.com-20120720092653-197y2amboq3hv9e5
This commit is contained in:
parent
7a8ac01d31
commit
09a5fbba59
|
@ -31,10 +31,10 @@ class account_analytic_default(osv.osv):
|
||||||
_columns = {
|
_columns = {
|
||||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of analytic distribution"),
|
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of analytic distribution"),
|
||||||
'analytic_id': fields.many2one('account.analytic.account', 'Analytic Account'),
|
'analytic_id': fields.many2one('account.analytic.account', 'Analytic Account'),
|
||||||
'product_id': fields.many2one('product.product', 'Product', ondelete='cascade', help="Select a product which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this product, it will automatically take this as an analytic account)"),
|
'product_id': fields.many2one('product.product', 'Product', ondelete='cascade', help="Select a product which will use analytic account specified in analytic default (e.g. create new customer invoice or Sale order if we select this product, it will automatically take this as an analytic account)"),
|
||||||
'partner_id': fields.many2one('res.partner', 'Partner', ondelete='cascade', help="Select a partner which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this partner, it will automatically take this as an analytic account)"),
|
'partner_id': fields.many2one('res.partner', 'Partner', ondelete='cascade', help="Select a partner which will use analytic account specified in analytic default (e.g. create new customer invoice or Sale order if we select this partner, it will automatically take this as an analytic account)"),
|
||||||
'user_id': fields.many2one('res.users', 'User', ondelete='cascade', help="Select a user which will use analytic account specified in analytic default."),
|
'user_id': fields.many2one('res.users', 'User', ondelete='cascade', help="Select a user which will use analytic account specified in analytic default."),
|
||||||
'company_id': fields.many2one('res.company', 'Company', ondelete='cascade', help="Select a company which will use analytic account specified in analytic default (eg. create new customer invoice or Sale order if we select this company, it will automatically take this as an analytic account)"),
|
'company_id': fields.many2one('res.company', 'Company', ondelete='cascade', help="Select a company which will use analytic account specified in analytic default (e.g. create new customer invoice or Sale order if we select this company, it will automatically take this as an analytic account)"),
|
||||||
'date_start': fields.date('Start Date', help="Default start date for this Analytic Account."),
|
'date_start': fields.date('Start Date', help="Default start date for this Analytic Account."),
|
||||||
'date_stop': fields.date('End Date', help="Default end date for this Analytic Account."),
|
'date_stop': fields.date('End Date', help="Default end date for this Analytic Account."),
|
||||||
}
|
}
|
||||||
|
|
|
@ -174,7 +174,7 @@ class Fields(unohelper.Base, XJobExecutor ):
|
||||||
|
|
||||||
self.win.doModalDialog("lstFields",self.sValue)
|
self.win.doModalDialog("lstFields",self.sValue)
|
||||||
else:
|
else:
|
||||||
ErrorDialog("Please insert user define field Field-1 or Field-4","Just go to File->Properties->User Define \nField-1 Eg. http://localhost:8069 \nOR \nField-4 Eg. account.invoice")
|
ErrorDialog("Please insert user define field Field-1 or Field-4","Just go to File->Properties->User Define \nField-1 E.g. http://localhost:8069 \nOR \nField-4 E.g. account.invoice")
|
||||||
self.win.endExecute()
|
self.win.endExecute()
|
||||||
|
|
||||||
def lstbox_selected(self,oItemEvent):
|
def lstbox_selected(self,oItemEvent):
|
||||||
|
|
|
@ -154,7 +154,7 @@ class AddLang(unohelper.Base, XJobExecutor ):
|
||||||
|
|
||||||
self.win.doModalDialog("lstFields",self.sValue)
|
self.win.doModalDialog("lstFields",self.sValue)
|
||||||
else:
|
else:
|
||||||
ErrorDialog("Please insert user define field Field-1 or Field-4","Just go to File->Properties->User Define \nField-1 Eg. http://localhost:8069 \nOR \nField-4 Eg. account.invoice")
|
ErrorDialog("Please insert user define field Field-1 or Field-4","Just go to File->Properties->User Define \nField-1 E.g. http://localhost:8069 \nOR \nField-4 E.g. account.invoice")
|
||||||
self.win.endExecute()
|
self.win.endExecute()
|
||||||
|
|
||||||
def lstbox_selected(self,oItemEvent):
|
def lstbox_selected(self,oItemEvent):
|
||||||
|
|
|
@ -77,7 +77,7 @@ class modify(unohelper.Base, XJobExecutor ):
|
||||||
ErrorDialog(
|
ErrorDialog(
|
||||||
"Please insert user define field Field-1",
|
"Please insert user define field Field-1",
|
||||||
"Just go to File->Properties->User Define \n"
|
"Just go to File->Properties->User Define \n"
|
||||||
"Field-1 Eg. http://localhost:8069"
|
"Field-1 E.g. http://localhost:8069"
|
||||||
)
|
)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
@ -108,9 +108,9 @@ class modify(unohelper.Base, XJobExecutor ):
|
||||||
ErrorDialog(
|
ErrorDialog(
|
||||||
"Please insert user define field Field-1 or Field-4",
|
"Please insert user define field Field-1 or Field-4",
|
||||||
"Just go to File->Properties->User Define \n"
|
"Just go to File->Properties->User Define \n"
|
||||||
"Field-1 Eg. http://localhost:8069 \n"
|
"Field-1 E.g. http://localhost:8069 \n"
|
||||||
"OR \n"
|
"OR \n"
|
||||||
"Field-4 Eg. account.invoice"
|
"Field-4 E.g. account.invoice"
|
||||||
)
|
)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,7 @@ class node_class(object):
|
||||||
could do various things.
|
could do various things.
|
||||||
Should also consider node<->content, dir<->dir moves etc.
|
Should also consider node<->content, dir<->dir moves etc.
|
||||||
|
|
||||||
Move operations, as instructed from APIs (eg. request from DAV) could
|
Move operations, as instructed from APIs (e.g. request from DAV) could
|
||||||
use this function.
|
use this function.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError(repr(self))
|
raise NotImplementedError(repr(self))
|
||||||
|
|
|
@ -110,15 +110,15 @@ class product_product(osv.osv):
|
||||||
'purchase_gap' : fields.function(_product_margin, type='float', string='Purchase Gap', multi='product_margin',
|
'purchase_gap' : fields.function(_product_margin, type='float', string='Purchase Gap', multi='product_margin',
|
||||||
help="Normal Cost - Total Cost"),
|
help="Normal Cost - Total Cost"),
|
||||||
'turnover' : fields.function(_product_margin, type='float', string='Turnover' ,multi='product_margin',
|
'turnover' : fields.function(_product_margin, type='float', string='Turnover' ,multi='product_margin',
|
||||||
help="Sum of Multification of Invoice price and quantity of Customer Invoices"),
|
help="Sum of Multiplication of Invoice price and quantity of Customer Invoices"),
|
||||||
'total_cost' : fields.function(_product_margin, type='float', string='Total Cost', multi='product_margin',
|
'total_cost' : fields.function(_product_margin, type='float', string='Total Cost', multi='product_margin',
|
||||||
help="Sum of Multification of Invoice price and quantity of Supplier Invoices "),
|
help="Sum of Multiplication of Invoice price and quantity of Supplier Invoices "),
|
||||||
'sale_expected' : fields.function(_product_margin, type='float', string='Expected Sale', multi='product_margin',
|
'sale_expected' : fields.function(_product_margin, type='float', string='Expected Sale', multi='product_margin',
|
||||||
help="Sum of Multification of Sale Catalog price and quantity of Customer Invoices"),
|
help="Sum of Multiplication of Sale Catalog price and quantity of Customer Invoices"),
|
||||||
'normal_cost' : fields.function(_product_margin, type='float', string='Normal Cost', multi='product_margin',
|
'normal_cost' : fields.function(_product_margin, type='float', string='Normal Cost', multi='product_margin',
|
||||||
help="Sum of Multification of Cost price and quantity of Supplier Invoices"),
|
help="Sum of Multiplication of Cost price and quantity of Supplier Invoices"),
|
||||||
'total_margin' : fields.function(_product_margin, type='float', string='Total Margin', multi='product_margin',
|
'total_margin' : fields.function(_product_margin, type='float', string='Total Margin', multi='product_margin',
|
||||||
help="Turnorder - Standard price"),
|
help="Turnover - Standard price"),
|
||||||
'expected_margin' : fields.function(_product_margin, type='float', string='Expected Margin', multi='product_margin',
|
'expected_margin' : fields.function(_product_margin, type='float', string='Expected Margin', multi='product_margin',
|
||||||
help="Expected Sale - Normal Cost"),
|
help="Expected Sale - Normal Cost"),
|
||||||
'total_margin_rate' : fields.function(_product_margin, type='float', string='Total Margin (%)', multi='product_margin',
|
'total_margin_rate' : fields.function(_product_margin, type='float', string='Total Margin (%)', multi='product_margin',
|
||||||
|
|
Loading…
Reference in New Issue