[IMP]: Generalization of tooltips: Added tooltips for sequence field
bzr revid: uco@tinyerp.co.in-20091221131412-xv3u9m8556xkyg6t
This commit is contained in:
parent
10c3b2da7d
commit
8d3fb81f4e
|
@ -448,7 +448,7 @@ class account_journal_column(osv.osv):
|
|||
'name': fields.char('Column Name', size=64, required=True),
|
||||
'field': fields.selection(_col_get, 'Field Name', method=True, required=True, size=32),
|
||||
'view_id': fields.many2one('account.journal.view', 'Journal View', select=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order to journal column."),
|
||||
'required': fields.boolean('Required'),
|
||||
'readonly': fields.boolean('Readonly'),
|
||||
}
|
||||
|
|
|
@ -591,7 +591,7 @@ class account_bank_statement_line(osv.osv):
|
|||
'note': fields.text('Notes'),
|
||||
'reconcile_amount': fields.function(_reconcile_amount,
|
||||
string='Amount reconciled', method=True, type='float'),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of bank statement line."),
|
||||
}
|
||||
_defaults = {
|
||||
'name': lambda self,cr,uid,context={}: self.pool.get('ir.sequence').get(cr, uid, 'account.bank.statement.line'),
|
||||
|
|
|
@ -1306,7 +1306,7 @@ class account_invoice_tax(osv.osv):
|
|||
'base': fields.float('Base', digits=(16,int(config['price_accuracy']))),
|
||||
'amount': fields.float('Amount', digits=(16,int(config['price_accuracy']))),
|
||||
'manual': fields.boolean('Manual'),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of invoice tax."),
|
||||
|
||||
'base_code_id': fields.many2one('account.tax.code', 'Base Code', help="The account basis of the tax declaration."),
|
||||
'base_amount': fields.float('Base Code Amount', digits=(16,int(config['price_accuracy']))),
|
||||
|
|
|
@ -29,7 +29,7 @@ class account_analytic_default(osv.osv):
|
|||
_rec_name = 'analytic_id'
|
||||
_order = 'sequence'
|
||||
_columns = {
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'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'),
|
||||
'product_id': fields.many2one('product.product', 'Product', ondelete='cascade'),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner', ondelete='cascade'),
|
||||
|
|
|
@ -45,7 +45,7 @@ class account_budget_post(osv.osv):
|
|||
'account_ids': fields.many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts'),
|
||||
'crossovered_budget_line': fields.one2many('crossovered.budget.lines', 'general_budget_id', 'Budget Lines'),
|
||||
'company_id': fields.many2one('res.company', 'Company', required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of budgetary position."),
|
||||
}
|
||||
_defaults = {
|
||||
'sequence': lambda *a: 1,
|
||||
|
|
|
@ -37,7 +37,7 @@ class followup_line(osv.osv):
|
|||
_description = 'Follow-Ups Criteria'
|
||||
_columns = {
|
||||
'name': fields.char('Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of follow-up lines."),
|
||||
'delay': fields.integer('Days of delay'),
|
||||
'start': fields.selection([('days','Net Days'),('end_of_month','End of Month')], 'Type of Term', size=64, required=True),
|
||||
'followup_id': fields.many2one('account_followup.followup', 'Follow Ups', required=True, ondelete="cascade"),
|
||||
|
|
|
@ -159,7 +159,7 @@ class account_invoice_line(osv.osv):
|
|||
('line','Separator Line'),
|
||||
('break','Page Break'),]
|
||||
,'Type', select=True, required=True),
|
||||
'sequence': fields.integer('Sequence Number'),
|
||||
'sequence': fields.integer('Sequence Number', help="Gives the sequence order when displaying a list of invoice lines."),
|
||||
'functional_field': fields.function(_fnct, arg=None, fnct_inv=None, fnct_inv_arg=None, type='char', fnct_search=None, obj=None, method=True, store=False, string="Source Account"),
|
||||
}
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@ class account_report(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Name', size=64, required=True),
|
||||
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the account report without removing it."),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of account reports."),
|
||||
'code': fields.char('Code', size=64, required=True),
|
||||
'type': fields.selection([
|
||||
('fiscal', 'Fiscal Statement'),
|
||||
|
|
|
@ -84,7 +84,7 @@ class account_report_bs(osv.osv):
|
|||
|
||||
_columns = {
|
||||
'name': fields.char('Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of account reporting for balance sheet."),
|
||||
'code': fields.char('Code', size=64, required=True),
|
||||
'account_id': fields.many2many('account.account', 'account_report_rel', 'report_id', 'account_id', 'Accounts'),
|
||||
'note': fields.text('Note'),
|
||||
|
|
|
@ -378,7 +378,7 @@ class report_creator_field(osv.osv):
|
|||
_rec_name = 'field_id'
|
||||
_order = "sequence,id"
|
||||
_columns = {
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of fields."),
|
||||
'field_id': fields.many2one('ir.model.fields', 'Field'),
|
||||
'report_id': fields.many2one('base_report_creator.report','Report', on_delete='cascade'),
|
||||
'group_method': fields.selection([('group','Grouped'),('sum','Sum'),('min','Minimum'),('count','Count'),('max','Maximum'),('avg','Average')], 'Grouping Method', required=True),
|
||||
|
|
|
@ -116,7 +116,7 @@ class board_line(osv.osv):
|
|||
_order = 'position,sequence'
|
||||
_columns = {
|
||||
'name': fields.char('Title', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of board lines."),
|
||||
'height': fields.integer('Height'),
|
||||
'width': fields.integer('Width'),
|
||||
'board_id': fields.many2one('board.board', 'Dashboard', required=True, ondelete='cascade'),
|
||||
|
|
|
@ -69,7 +69,7 @@ class crm_case_section(osv.osv):
|
|||
'code': fields.char('Section Code',size=8),
|
||||
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the case section without removing it."),
|
||||
'allow_unlink': fields.boolean('Allow Delete', help="Allows to delete non draft cases"),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of case sections."),
|
||||
'user_id': fields.many2one('res.users', 'Responsible User'),
|
||||
'reply_to': fields.char('Reply-To', size=64, help="The email address put in the 'Reply-To' of all emails sent by Open ERP about cases in this section"),
|
||||
'parent_id': fields.many2one('crm.case.section', 'Parent Section'),
|
||||
|
@ -370,7 +370,7 @@ class crm_case_rule(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Rule Name',size=64, required=True),
|
||||
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the case rule without removing it."),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of case rules."),
|
||||
|
||||
'trg_state_from': fields.selection([('',''),('escalate','Escalate')]+AVAILABLE_STATES, 'Case State', size=16),
|
||||
'trg_state_to': fields.selection([('',''),('escalate','Escalate')]+AVAILABLE_STATES, 'Button Pressed', size=16),
|
||||
|
|
|
@ -55,7 +55,7 @@ class crm_case_stage(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Stage Name', size=64, required=True, translate=True),
|
||||
'section_id': fields.many2one('crm.case.section', 'Case Section'),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of case stages."),
|
||||
}
|
||||
_defaults = {
|
||||
'sequence': lambda *args: 1
|
||||
|
|
|
@ -79,7 +79,7 @@ class delivery_grid(osv.osv):
|
|||
_description = "Delivery Grid"
|
||||
_columns = {
|
||||
'name': fields.char('Grid Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence', size=64, required=True, help="Gives the sequence order when displaying a list of delivery grid."),
|
||||
'carrier_id': fields.many2one('delivery.carrier', 'Carrier', required=True, ondelete='cascade'),
|
||||
'country_ids': fields.many2many('res.country', 'delivery_grid_country_rel', 'grid_id', 'country_id', 'Countries'),
|
||||
'state_ids': fields.many2many('res.country.state', 'delivery_grid_state_rel', 'grid_id', 'state_id', 'States'),
|
||||
|
|
|
@ -451,7 +451,7 @@ class document_directory_content(osv.osv):
|
|||
return res
|
||||
_columns = {
|
||||
'name': fields.char('Content Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence', size=16),
|
||||
'sequence': fields.integer('Sequence', size=16, help="Gives the sequence order when displaying a list of directory contents."),
|
||||
'suffix': fields.char('Suffix', size=16),
|
||||
'report_id': fields.many2one('ir.actions.report.xml', 'Report'),
|
||||
'extension': fields.selection(_extension_get, 'Document Type', required=True, size=4),
|
||||
|
|
|
@ -205,7 +205,7 @@ class hr_expense_line(osv.osv):
|
|||
'description': fields.text('Description'),
|
||||
'analytic_account': fields.many2one('account.analytic.account','Analytic account'),
|
||||
'ref': fields.char('Reference', size=32),
|
||||
'sequence' : fields.integer('Sequence'),
|
||||
'sequence' : fields.integer('Sequence', help="Gives the sequence order when displaying a list of expense lines."),
|
||||
}
|
||||
_defaults = {
|
||||
'unit_quantity': lambda *a: 1,
|
||||
|
|
|
@ -126,7 +126,7 @@ class mrp_routing_workcenter(osv.osv):
|
|||
_columns = {
|
||||
'workcenter_id': fields.many2one('mrp.workcenter', 'Work Center', required=True),
|
||||
'name': fields.char('Name', size=64, required=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of routing workcenters."),
|
||||
'cycle_nbr': fields.float('Number of Cycles', required=True,
|
||||
help="Time in hours for doing one cycle."),
|
||||
'hour_nbr': fields.float('Number of Hours', required=True, help="Cost per hour"),
|
||||
|
@ -185,7 +185,7 @@ class mrp_bom(osv.osv):
|
|||
'method': fields.function(_compute_type, string='Method', method=True, type='selection', selection=[('',''),('stock','On Stock'),('order','On Order'),('set','Set / Pack')]),
|
||||
'date_start': fields.date('Valid From', help="Validity of this BoM or component. Keep empty if it's always valid."),
|
||||
'date_stop': fields.date('Valid Until', help="Validity of this BoM or component. Keep empty if it's always valid."),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of bills of material."),
|
||||
'position': fields.char('Internal Ref.', size=64, help="Reference to a position in an external plan."),
|
||||
'product_id': fields.many2one('product.product', 'Product', required=True),
|
||||
'product_uos_qty': fields.float('Product UOS Qty'),
|
||||
|
@ -760,7 +760,7 @@ class mrp_production_workcenter_line(osv.osv):
|
|||
'workcenter_id': fields.many2one('mrp.workcenter', 'Work Center', required=True),
|
||||
'cycle': fields.float('Nbr of cycles', digits=(16,2)),
|
||||
'hour': fields.float('Nbr of hours', digits=(16,2)),
|
||||
'sequence': fields.integer('Sequence', required=True),
|
||||
'sequence': fields.integer('Sequence', required=True, help="Gives the sequence order when displaying a list of work orders."),
|
||||
'production_id': fields.many2one('mrp.production', 'Production Order', select=True, ondelete='cascade'),
|
||||
}
|
||||
_defaults = {
|
||||
|
|
|
@ -351,7 +351,7 @@ class product_pricelist_item(osv.osv):
|
|||
'categ_id': fields.many2one('product.category', 'Product Category', ondelete='cascade', help="Set a category of product if this rule only apply to products of a category and his childs. Keep empty for all products"),
|
||||
|
||||
'min_quantity': fields.integer('Min. Quantity', required=True, help="The rule only applies if the partner buys/sells more than this quantity."),
|
||||
'sequence': fields.integer('Sequence', required=True),
|
||||
'sequence': fields.integer('Sequence', required=True, help="Gives the sequence order when displaying a list of pricelist items."),
|
||||
'base': fields.selection(_price_field_get, 'Based on', required=True, size=-1, help="The mode for computing the price for this rule."),
|
||||
'base_pricelist_id': fields.many2one('product.pricelist', 'If Other Pricelist'),
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@ class product_category(osv.osv):
|
|||
'complete_name': fields.function(_name_get_fnc, method=True, type="char", string='Name'),
|
||||
'parent_id': fields.many2one('product.category','Parent Category', select=True),
|
||||
'child_id': fields.one2many('product.category', 'parent_id', string='Child Categories'),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of product categories."),
|
||||
}
|
||||
_order = "sequence"
|
||||
def _check_recursion(self, cr, uid, ids):
|
||||
|
@ -566,7 +566,7 @@ class product_packaging(osv.osv):
|
|||
_description = "Packaging"
|
||||
_rec_name = 'ean'
|
||||
_columns = {
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of packaging."),
|
||||
'name' : fields.char('Description', size=64),
|
||||
'qty' : fields.float('Quantity by Package',
|
||||
help="The total number of products you can put by pallet or box."),
|
||||
|
@ -629,7 +629,7 @@ class product_supplierinfo(osv.osv):
|
|||
'name' : fields.many2one('res.partner', 'Partner', required=True, ondelete='cascade', help="Supplier of this product"),
|
||||
'product_name': fields.char('Partner Product Name', size=128, help="This partner's product name will be used when printing a request for quotation. Keep empty to use the internal one."),
|
||||
'product_code': fields.char('Partner Product Code', size=64, help="This partner's product code will be used when printing a request for quotation. Keep empty to use the internal one."),
|
||||
'sequence' : fields.integer('Priority'),
|
||||
'sequence' : fields.integer('Priority', help="Assigns the priority to the list of product supplier."),
|
||||
'qty' : fields.float('Minimal Quantity', required=True, help="The minimal quantity to purchase to this supplier, expressed in the default unit of measure."),
|
||||
'product_id' : fields.many2one('product.template', 'Product', required=True, ondelete='cascade', select=True),
|
||||
'delay' : fields.integer('Delivery Lead Time', required=True, help="Lead time in days between the confirmation of the purchase order and the reception of the products in your warehouse. Used by the scheduler for automatic computation of the purchase order planning."),
|
||||
|
|
|
@ -280,7 +280,7 @@ class task(osv.osv):
|
|||
'name': fields.char('Task summary', size=128, required=True),
|
||||
'description': fields.text('Description'),
|
||||
'priority' : fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Urgent'), ('0','Very urgent')], 'Importance'),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of tasks."),
|
||||
'type': fields.many2one('project.task.type', 'Type'),
|
||||
'state': fields.selection([('draft', 'Draft'),('open', 'In Progress'),('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'State', readonly=True, required=True,
|
||||
help='If the task is created the state \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\
|
||||
|
|
|
@ -35,7 +35,7 @@ class project_gtd_context(osv.osv):
|
|||
_description = "Contexts"
|
||||
_columns = {
|
||||
'name': fields.char('Context', size=64, required=True, select=1),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of contexts."),
|
||||
'project_default_id': fields.many2one('project.project', 'Default Project', required=True),
|
||||
}
|
||||
_defaults = {
|
||||
|
@ -51,7 +51,7 @@ class project_gtd_timebox(osv.osv):
|
|||
_order = "sequence"
|
||||
_columns = {
|
||||
'name': fields.char('Timebox', size=64, required=True, select=1),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of timebox."),
|
||||
'icon': fields.selection(tools.icons, 'Icon', size=64),
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class report_closed_task(osv.osv):
|
|||
_description = "Closed Task Report"
|
||||
_auto = False
|
||||
_columns = {
|
||||
'sequence': fields.integer('Sequence', readonly=True),
|
||||
'sequence': fields.integer('Sequence', readonly=True, help="Gives the sequence order when displaying a list of closed task reports."),
|
||||
'name': fields.char('Task summary', size=128, readonly=True),
|
||||
'project_id': fields.many2one('project.project', 'Project', readonly=True),
|
||||
'user_id': fields.many2one('res.users', 'Assigned to', readonly=True),
|
||||
|
|
|
@ -752,7 +752,7 @@ class sale_order_line(osv.osv):
|
|||
_columns = {
|
||||
'order_id': fields.many2one('sale.order', 'Order Ref', required=True, ondelete='cascade', select=True),
|
||||
'name': fields.char('Description', size=256, required=True, select=True),
|
||||
'sequence': fields.integer('Sequence'),
|
||||
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of sale order lines."),
|
||||
'delay': fields.float('Delivery Lead Time', required=True, help="Number of days between the order confirmation the the shipping of the products to the customer"),
|
||||
'product_id': fields.many2one('product.product', 'Product', domain=[('sale_ok', '=', True)], change_default=True),
|
||||
'invoice_lines': fields.many2many('account.invoice.line', 'sale_order_line_invoice_rel', 'order_line_id', 'invoice_id', 'Invoice Lines', readonly=True),
|
||||
|
|
|
@ -163,7 +163,7 @@ class scrum_product_backlog(osv.osv):
|
|||
'project_id': fields.many2one('scrum.project', 'Scrum Project', required=True, domain=[('scrum','=',1)]),
|
||||
'user_id': fields.many2one('res.users', 'User'),
|
||||
'sprint_id': fields.many2one('scrum.sprint', 'Sprint'),
|
||||
'sequence' : fields.integer('Sequence'),
|
||||
'sequence' : fields.integer('Sequence', help="Gives the sequence order when displaying a list of product backlog."),
|
||||
'priority' : fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Urgent'), ('0','Very urgent')], 'Priority'),
|
||||
'tasks_id': fields.one2many('scrum.task', 'product_backlog_id', 'Tasks Details'),
|
||||
'state': fields.selection([('draft','Draft'),('open','Open'),('done','Done')], 'State', required=True),
|
||||
|
|
Loading…
Reference in New Issue