diff --git a/addons/account/__openerp__.py b/addons/account/__openerp__.py index 27aca6fb9fa..cd19c730a3f 100644 --- a/addons/account/__openerp__.py +++ b/addons/account/__openerp__.py @@ -23,7 +23,6 @@ "version" : "1.1", "author" : "OpenERP SA", "category": 'Accounting & Finance', - 'complexity': "easy", "description": """ Accounting and Financial Management. ==================================== diff --git a/addons/account/account.py b/addons/account/account.py index 26af7a5f9bd..d501f35cbc7 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -893,7 +893,7 @@ class account_fiscalyear(osv.osv): 'date_start': fields.date('Start Date', required=True), 'date_stop': fields.date('End Date', required=True), 'period_ids': fields.one2many('account.period', 'fiscalyear_id', 'Periods'), - 'state': fields.selection([('draft','Open'), ('done','Closed')], 'State', readonly=True), + 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', readonly=True), } _defaults = { 'state': 'draft', @@ -990,7 +990,7 @@ class account_period(osv.osv): 'date_start': fields.date('Start of Period', required=True, states={'done':[('readonly',True)]}), 'date_stop': fields.date('End of Period', required=True, states={'done':[('readonly',True)]}), 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', required=True, states={'done':[('readonly',True)]}, select=True), - 'state': fields.selection([('draft','Open'), ('done','Closed')], 'State', readonly=True, + 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', readonly=True, help='When monthly periods are created. The state is \'Draft\'. At the end of monthly period it is in \'Done\' state.'), 'company_id': fields.related('fiscalyear_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True) } @@ -1117,7 +1117,7 @@ class account_journal_period(osv.osv): 'period_id': fields.many2one('account.period', 'Period', required=True, ondelete="cascade"), 'icon': fields.function(_icon_get, string='Icon', type='char', size=32), 'active': fields.boolean('Active', required=True, help="If the active field is set to False, it will allow you to hide the journal period without removing it."), - 'state': fields.selection([('draft','Draft'), ('printed','Printed'), ('done','Done')], 'State', required=True, readonly=True, + 'state': fields.selection([('draft','Draft'), ('printed','Printed'), ('done','Done')], 'Status', required=True, readonly=True, help='When journal period is created. The state is \'Draft\'. If a report is printed it comes to \'Printed\' state. When all transactions are done, it comes in \'Done\' state.'), 'fiscalyear_id': fields.related('period_id', 'fiscalyear_id', string='Fiscal Year', type='many2one', relation='account.fiscalyear'), 'company_id': fields.related('journal_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True) @@ -1264,7 +1264,7 @@ class account_move(osv.osv): 'ref': fields.char('Reference', size=64), 'period_id': fields.many2one('account.period', 'Period', required=True, states={'posted':[('readonly',True)]}), 'journal_id': fields.many2one('account.journal', 'Journal', required=True, states={'posted':[('readonly',True)]}), - 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'State', required=True, readonly=True, + 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', required=True, readonly=True, help='All manually created new journal entries are usually in the state \'Unposted\', but you can set the option to skip that state on the related journal. In that case, they will be behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' state.'), 'line_id': fields.one2many('account.move.line', 'move_id', 'Entries', states={'posted':[('readonly',True)]}), 'to_check': fields.boolean('To Review', help='Check this box if you are unsure of that journal entry and if you want to note it as \'to be reviewed\' by an accounting expert.'), @@ -2350,7 +2350,7 @@ class account_subscription(osv.osv): 'period_total': fields.integer('Number of Periods', required=True), 'period_nbr': fields.integer('Period', required=True), 'period_type': fields.selection([('day','days'),('month','month'),('year','year')], 'Period Type', required=True), - 'state': fields.selection([('draft','Draft'),('running','Running'),('done','Done')], 'State', required=True, readonly=True), + 'state': fields.selection([('draft','Draft'),('running','Running'),('done','Done')], 'Status', required=True, readonly=True), 'lines_id': fields.one2many('account.subscription.line', 'subscription_id', 'Subscription Lines') } _defaults = { diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index 5601179e0fc..51e3d2dbe85 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -153,7 +153,7 @@ class account_bank_statement(osv.osv): 'state': fields.selection([('draft', 'New'), ('open','Open'), # used by cash statements ('confirm', 'Closed')], - 'State', required=True, readonly="1", + 'Status', required=True, readonly="1", help='When new statement is created the state will be \'Draft\'.\n' 'And after getting confirmation from the bank it will be in \'Confirmed\' state.'), 'currency': fields.function(_currency, string='Currency', diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 965fda9c804..9426d713188 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -206,7 +206,7 @@ class account_invoice(osv.osv): ('proforma2','Pro-forma'), ('open','Open'), ('paid','Paid') - ],'State', select=True, readonly=True, + ],'Status', select=True, readonly=True, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed Invoice. \ \n* The \'Pro-forma\' when invoice is in Pro-forma state,invoice does not have an invoice number. \ \n* The \'Open\' state is used when user create invoice,a invoice number is generated.Its in open state till user does not pay invoice. \ @@ -273,7 +273,7 @@ class account_invoice(osv.osv): help="Remaining amount due."), 'payment_ids': fields.function(_compute_lines, relation='account.move.line', type="many2many", string='Payments'), 'move_name': fields.char('Journal Entry', size=64, readonly=True, states={'draft':[('readonly',False)]}), - 'user_id': fields.many2one('res.users', 'Salesman', readonly=True, states={'draft':[('readonly',False)]}), + 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True, states={'draft':[('readonly',False)]}), 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position', readonly=True, states={'draft':[('readonly',False)]}) } _defaults = { @@ -1307,7 +1307,7 @@ class account_invoice_line(osv.osv): _description = "Invoice Line" _columns = { 'name': fields.char('Description', size=256, required=True), - 'origin': fields.char('Origin', size=256, help="Reference of the document that produced this invoice."), + 'origin': fields.char('Source', size=256, help="Reference of the document that produced this invoice."), 'invoice_id': fields.many2one('account.invoice', 'Invoice Reference', ondelete='cascade', select=True), 'uos_id': fields.many2one('product.uom', 'Unit of Measure', ondelete='set null'), 'product_id': fields.many2one('product.product', 'Product', ondelete='set null'), diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 1306f75a717..05da4af666e 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -374,7 +374,7 @@ string="Reference" filter_domain="['|', ('number','ilike',self),('origin','ilike',self)]"/> - + @@ -389,7 +389,7 @@ - + diff --git a/addons/account/account_menuitem.xml b/addons/account/account_menuitem.xml index 3713606c490..58830a19693 100644 --- a/addons/account/account_menuitem.xml +++ b/addons/account/account_menuitem.xml @@ -2,7 +2,7 @@ - diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 573b8f17524..892747c849f 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -508,7 +508,7 @@ class account_move_line(osv.osv): 'analytic_lines': fields.one2many('account.analytic.line', 'move_id', 'Analytic lines'), 'centralisation': fields.selection([('normal','Normal'),('credit','Credit Centralisation'),('debit','Debit Centralisation'),('currency','Currency Adjustment')], 'Centralisation', size=8), 'balance': fields.function(_balance, fnct_search=_balance_search, string='Balance'), - 'state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'State', readonly=True, + 'state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'Status', readonly=True, help='When new move line is created the state will be \'Draft\'.\n* When all the payments are done it will be in \'Valid\' state.'), 'tax_code_id': fields.many2one('account.tax.code', 'Tax Account', help="The Account can either be a base tax code or a tax code account."), 'tax_amount': fields.float('Tax/Base Amount', digits_compute=dp.get_precision('Account'), select=True, help="If the Tax account is a tax code account, this field will contain the taxed amount.If the tax account is base tax code, "\ diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index b7bd4e55ce5..c1367e60498 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -72,7 +72,7 @@ - + @@ -547,7 +547,7 @@ - + @@ -592,7 +592,7 @@ - + @@ -1209,7 +1209,7 @@ - + diff --git a/addons/account/board_account_view.xml b/addons/account/board_account_view.xml index fa6dac769a3..3037c9d3b0d 100644 --- a/addons/account/board_account_view.xml +++ b/addons/account/board_account_view.xml @@ -63,8 +63,6 @@ - - diff --git a/addons/account/data/account_data.xml b/addons/account/data/account_data.xml index e111c453325..12fd558a31f 100644 --- a/addons/account/data/account_data.xml +++ b/addons/account/data/account_data.xml @@ -125,7 +125,7 @@ - State + Status state @@ -212,7 +212,7 @@ - State + Status state @@ -287,7 +287,7 @@ - State + Status state @@ -368,7 +368,7 @@ - State + Status state @@ -454,7 +454,7 @@ - State + Status state diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index ee8ea3dbf87..a65495b0220 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -46,7 +46,7 @@ - + diff --git a/addons/account/report/account_entries_report.py b/addons/account/report/account_entries_report.py index 56085b13453..676f833eeaf 100644 --- a/addons/account/report/account_entries_report.py +++ b/addons/account/report/account_entries_report.py @@ -51,7 +51,7 @@ class account_entries_report(osv.osv): 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', readonly=True), 'product_id': fields.many2one('product.product', 'Product', readonly=True), 'product_uom_id': fields.many2one('product.uom', 'Product Unit of Measure', readonly=True), - 'move_state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'State', readonly=True), + 'move_state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', readonly=True), 'move_line_state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'State of Move Line', readonly=True), 'reconcile_id': fields.many2one('account.move.reconcile', readonly=True), 'partner_id': fields.many2one('res.partner','Partner', readonly=True), diff --git a/addons/account/report/account_invoice_report.py b/addons/account/report/account_invoice_report.py index f50ee46d63e..d4362484588 100644 --- a/addons/account/report/account_invoice_report.py +++ b/addons/account/report/account_invoice_report.py @@ -45,7 +45,7 @@ class account_invoice_report(osv.osv): 'journal_id': fields.many2one('account.journal', 'Journal', readonly=True), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True), - 'user_id': fields.many2one('res.users', 'Salesman', readonly=True), + 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True), 'price_total': fields.float('Total Without Tax', readonly=True), 'price_average': fields.float('Average Price', readonly=True, group_operator="avg"), 'currency_rate': fields.float('Currency Rate', readonly=True), diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index 6e5f83a83d1..c464d1cfc46 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -107,12 +107,12 @@ - + - + diff --git a/addons/account/report/account_print_invoice.rml b/addons/account/report/account_print_invoice.rml index bb142587de0..7c5007a24fb 100644 --- a/addons/account/report/account_print_invoice.rml +++ b/addons/account/report/account_print_invoice.rml @@ -191,7 +191,7 @@ Invoice Date - Origin + Source Customer Code diff --git a/addons/account/report/account_report.py b/addons/account/report/account_report.py index 9f81f295d74..555d1ee7c25 100644 --- a/addons/account/report/account_report.py +++ b/addons/account/report/account_report.py @@ -175,7 +175,7 @@ class report_invoice_created(osv.osv): ('open','Open'), ('paid','Done'), ('cancel','Cancelled') - ],'State', readonly=True), + ],'Status', readonly=True), 'origin': fields.char('Source Document', size=64, readonly=True, help="Reference of the document that generated this invoice report."), 'create_date': fields.datetime('Create Date', readonly=True) } diff --git a/addons/account_accountant/__openerp__.py b/addons/account_accountant/__openerp__.py index 915d72a15f8..f1155311f39 100644 --- a/addons/account_accountant/__openerp__.py +++ b/addons/account_accountant/__openerp__.py @@ -24,7 +24,6 @@ "author" : "OpenERP SA", "category": 'Accounting & Finance', "sequence": 10, - 'complexity': "normal", "description": """ Accounting Access Rights. ========================= diff --git a/addons/account_analytic_analysis/__openerp__.py b/addons/account_analytic_analysis/__openerp__.py index f9c6c0dde25..4f25ece5954 100644 --- a/addons/account_analytic_analysis/__openerp__.py +++ b/addons/account_analytic_analysis/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Contracts Management', 'version': '1.1', 'category': 'Sales Management', - 'complexity': "normal", 'description': """ This module is for modifying account analytic view to show important data to project manager of services companies. =================================================================================================================== diff --git a/addons/account_analytic_analysis/account_analytic_analysis_menu.xml b/addons/account_analytic_analysis/account_analytic_analysis_menu.xml index 964383246dd..0c28155b76d 100644 --- a/addons/account_analytic_analysis/account_analytic_analysis_menu.xml +++ b/addons/account_analytic_analysis/account_analytic_analysis_menu.xml @@ -43,7 +43,7 @@ - + diff --git a/addons/account_analytic_default/__openerp__.py b/addons/account_analytic_default/__openerp__.py index 63f17e7bf62..e02f477d1af 100644 --- a/addons/account_analytic_default/__openerp__.py +++ b/addons/account_analytic_default/__openerp__.py @@ -23,7 +23,6 @@ 'name' : 'Account Analytic Defaults', 'version' : '1.0', "category": 'Accounting & Finance', - 'complexity': "normal", 'description': """Set default values for your analytic accounts Allows to automatically select analytic accounts based on criterions: ===================================================================== diff --git a/addons/account_analytic_plans/__openerp__.py b/addons/account_analytic_plans/__openerp__.py index 1669bd277d3..6e53c5452ee 100644 --- a/addons/account_analytic_plans/__openerp__.py +++ b/addons/account_analytic_plans/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Multiple Analytic Plans', 'version': '1.0', 'category': 'Accounting & Finance', - 'complexity': "normal", 'description': """ This module allows to use several analytic plans, according to the general journal. =================================================================================== diff --git a/addons/account_anglo_saxon/__openerp__.py b/addons/account_anglo_saxon/__openerp__.py index 2c10fcc7a19..78b2ff825c6 100644 --- a/addons/account_anglo_saxon/__openerp__.py +++ b/addons/account_anglo_saxon/__openerp__.py @@ -23,7 +23,6 @@ "version": "1.2", "author": "OpenERP SA, Veritos", "website": "http://tinyerp.com - http://veritos.nl", - 'complexity': "normal", "description": """ This module supports the Anglo-Saxon accounting methodology by changing the accounting logic with stock transactions. ===================================================================================================================== diff --git a/addons/account_asset/__openerp__.py b/addons/account_asset/__openerp__.py index f26a8ada1b9..4b7379d8a6a 100644 --- a/addons/account_asset/__openerp__.py +++ b/addons/account_asset/__openerp__.py @@ -51,7 +51,7 @@ ], "auto_install": False, "installable": True, - "application": True, + "application": False, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account_asset/account_asset.py b/addons/account_asset/account_asset.py index 97aec1d8487..0799a59a423 100644 --- a/addons/account_asset/account_asset.py +++ b/addons/account_asset/account_asset.py @@ -223,7 +223,7 @@ class account_asset_asset(osv.osv): 'parent_id': fields.many2one('account.asset.asset', 'Parent Asset', readonly=True, states={'draft':[('readonly',False)]}), 'child_ids': fields.one2many('account.asset.asset', 'parent_id', 'Children Assets'), 'purchase_date': fields.date('Purchase Date', required=True, readonly=True, states={'draft':[('readonly',False)]}), - 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'State', required=True, + 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', required=True, help="When an asset is created, the state is 'Draft'.\n" \ "If the asset is confirmed, the state goes in 'Running' and the depreciation lines can be posted in the accounting.\n" \ "You can manually close an asset when the depreciation is over. If the last line of depreciation is posted, the asset automatically goes in that state."), diff --git a/addons/account_asset/report/account_asset_report.py b/addons/account_asset/report/account_asset_report.py index a7d9adf00f9..000967a555c 100644 --- a/addons/account_asset/report/account_asset_report.py +++ b/addons/account_asset/report/account_asset_report.py @@ -33,7 +33,7 @@ class asset_asset_report(osv.osv): 'asset_id': fields.many2one('account.asset.asset', string='Asset', readonly=True), 'asset_category_id': fields.many2one('account.asset.category',string='Asset category'), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), - 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'State', readonly=True), + 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', readonly=True), 'depreciation_value': fields.float('Amount of Depreciation Lines', readonly=True), 'move_check': fields.boolean('Posted', readonly=True), 'nbr': fields.integer('# of Depreciation Lines', readonly=True), diff --git a/addons/account_bank_statement_extensions/account_bank_statement.py b/addons/account_bank_statement_extensions/account_bank_statement.py index 6fb51bbc4aa..d42e188679a 100644 --- a/addons/account_bank_statement_extensions/account_bank_statement.py +++ b/addons/account_bank_statement_extensions/account_bank_statement.py @@ -113,7 +113,7 @@ class account_bank_statement_line(osv.osv): 'globalisation_amount': fields.related('globalisation_id', 'amount', type='float', relation='account.bank.statement.line.global', string='Glob. Amount', readonly=True), 'state': fields.selection([('draft', 'Draft'), ('confirm', 'Confirmed')], - 'State', required=True, readonly=True), + 'Status', required=True, readonly=True), 'counterparty_name': fields.char('Counterparty Name', size=35), 'counterparty_bic': fields.char('Counterparty BIC', size=11), 'counterparty_number': fields.char('Counterparty Number', size=34), diff --git a/addons/account_budget/__openerp__.py b/addons/account_budget/__openerp__.py index 261f359f26e..89d06dccdca 100644 --- a/addons/account_budget/__openerp__.py +++ b/addons/account_budget/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Budgets Management', 'version': '1.0', 'category': 'Accounting & Finance', - 'complexity': "normal", 'description': """ This module allows accountants to manage analytic and crossovered budgets. ========================================================================== diff --git a/addons/account_cancel/__openerp__.py b/addons/account_cancel/__openerp__.py index a17958151b3..6749cef0c8e 100644 --- a/addons/account_cancel/__openerp__.py +++ b/addons/account_cancel/__openerp__.py @@ -24,7 +24,6 @@ "version" : "1.1", "author" : "OpenERP SA", "category": 'Accounting & Finance', - 'complexity': "normal", "description": """ Allows cancelling accounting entries. ===================================== diff --git a/addons/account_coda/__openerp__.py b/addons/account_coda/__openerp__.py index 126027a41a7..06a0a59d2c6 100644 --- a/addons/account_coda/__openerp__.py +++ b/addons/account_coda/__openerp__.py @@ -24,7 +24,6 @@ "version": '2.1', "author": 'Noviat', "category": 'Accounting & Finance', - "complexity": "normal", "description": ''' Module to import CODA bank statements. ====================================== diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py index 425754d1c09..ed397668148 100644 --- a/addons/account_followup/__openerp__.py +++ b/addons/account_followup/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Followup Management', 'version': '1.0', 'category': 'Accounting & Finance', - 'complexity': "normal", 'description': """ Module to automate letters for unpaid invoices, with multi-level recalls. ========================================================================== diff --git a/addons/account_invoice_layout/__openerp__.py b/addons/account_invoice_layout/__openerp__.py index 83fe193fac4..dfc2f7a8db4 100644 --- a/addons/account_invoice_layout/__openerp__.py +++ b/addons/account_invoice_layout/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Invoice Layouts', 'version': '1.0', "category": 'Accounting & Finance', - 'complexity': "easy", 'description': """ This module provides some features to improve the layout of the invoices. ========================================================================= diff --git a/addons/account_invoice_layout/report/report_account_invoice_layout.rml b/addons/account_invoice_layout/report/report_account_invoice_layout.rml index eec4b974e2b..79bce6248d3 100644 --- a/addons/account_invoice_layout/report/report_account_invoice_layout.rml +++ b/addons/account_invoice_layout/report/report_account_invoice_layout.rml @@ -228,7 +228,7 @@ Invoice Date - Origin + Source Customer Code diff --git a/addons/account_invoice_layout/report/special_message_invoice.rml b/addons/account_invoice_layout/report/special_message_invoice.rml index 97a7f131df6..84049b18f0a 100644 --- a/addons/account_invoice_layout/report/special_message_invoice.rml +++ b/addons/account_invoice_layout/report/special_message_invoice.rml @@ -232,7 +232,7 @@ Invoice Date - Origin + Source Your Reference diff --git a/addons/account_payment/__openerp__.py b/addons/account_payment/__openerp__.py index 83c179801ab..1959d71da74 100644 --- a/addons/account_payment/__openerp__.py +++ b/addons/account_payment/__openerp__.py @@ -24,7 +24,6 @@ "version": "1.1", "author": "OpenERP SA", "category": "Accounting & Finance", - 'complexity': "easy", "description": """ Module to manage the payment of your supplier invoices. ======================================================= diff --git a/addons/account_payment/account_payment.py b/addons/account_payment/account_payment.py index 2cbe99206d6..80d7a5419e7 100644 --- a/addons/account_payment/account_payment.py +++ b/addons/account_payment/account_payment.py @@ -94,7 +94,7 @@ class payment_order(osv.osv): ('draft', 'Draft'), ('cancel', 'Cancelled'), ('open', 'Confirmed'), - ('done', 'Done')], 'State', select=True, + ('done', 'Done')], 'Status', select=True, help='When an order is placed the state is \'Draft\'.\n Once the bank is confirmed the state is set to \'Confirmed\'.\n Then the order is paid the state is \'Done\'.'), 'line_ids': fields.one2many('payment.line', 'order_id', 'Payment lines', states={'done': [('readonly', True)]}), 'total': fields.function(_total, string="Total", type='float'), diff --git a/addons/account_payment/account_payment_view.xml b/addons/account_payment/account_payment_view.xml index 285b5983b1a..032ef38411a 100644 --- a/addons/account_payment/account_payment_view.xml +++ b/addons/account_payment/account_payment_view.xml @@ -219,7 +219,7 @@ - + diff --git a/addons/account_sequence/__openerp__.py b/addons/account_sequence/__openerp__.py index 301afa3be4d..0f860d400e9 100644 --- a/addons/account_sequence/__openerp__.py +++ b/addons/account_sequence/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Entries Sequence Numbering', 'version': '1.1', "category": 'Accounting & Finance', - 'complexity': "easy", 'description': """ This module maintains internal sequence number for accounting entries. ====================================================================== diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index 1c4005b7be0..a7899338b8e 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -23,7 +23,6 @@ "name" : "eInvoicing & Payments", "version" : "1.0", "author" : 'OpenERP SA', - 'complexity': "normal", "description": """ Account Voucher module includes all the basic requirements of Voucher Entries for Bank, Cash, Sales, Purchase, Expanse, Contra, etc. ==================================================================================================================================== diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 7c4df846b80..f2cffdf27cd 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -278,7 +278,7 @@ class account_voucher(osv.osv): ('cancel','Cancelled'), ('proforma','Pro-forma'), ('posted','Posted') - ], 'State', readonly=True, size=32, + ], 'Status', readonly=True, size=32, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed Voucher. \ \n* The \'Pro-forma\' when voucher is in Pro-forma state,voucher does not have an voucher number. \ \n* The \'Posted\' state is used when user create voucher,a voucher number is generated and voucher entries are created in account \ diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml index 9b5f9ad901c..349d4e70ed7 100644 --- a/addons/account_voucher/account_voucher_view.xml +++ b/addons/account_voucher/account_voucher_view.xml @@ -144,7 +144,7 @@ - + diff --git a/addons/account_voucher/report/account_voucher.rml b/addons/account_voucher/report/account_voucher.rml index 3892d281f5b..6b3337aa64f 100644 --- a/addons/account_voucher/report/account_voucher.rml +++ b/addons/account_voucher/report/account_voucher.rml @@ -185,7 +185,7 @@ - State: + Status: PRO-FORMA [[ ((voucher.state == 'proforma') or removeParentNode('para')) and '' ]] diff --git a/addons/account_voucher/report/account_voucher_print.rml b/addons/account_voucher/report/account_voucher_print.rml index 99935520b81..923e900887a 100644 --- a/addons/account_voucher/report/account_voucher_print.rml +++ b/addons/account_voucher/report/account_voucher_print.rml @@ -159,7 +159,7 @@ - State: + Status: PRO-FORMA [[ ((voucher.state == 'proforma') or removeParentNode('para')) and '' ]] diff --git a/addons/account_voucher/report/account_voucher_sales_receipt.py b/addons/account_voucher/report/account_voucher_sales_receipt.py index b31dedc8aa1..53aa5cd4a0d 100644 --- a/addons/account_voucher/report/account_voucher_sales_receipt.py +++ b/addons/account_voucher/report/account_voucher_sales_receipt.py @@ -37,7 +37,7 @@ class sale_receipt_report(osv.osv): 'journal_id': fields.many2one('account.journal', 'Journal', readonly=True), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True), - 'user_id': fields.many2one('res.users', 'Salesman', readonly=True), + 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True), 'price_total': fields.float('Total Without Tax', readonly=True), 'price_total_tax': fields.float('Total With Tax', readonly=True), 'nbr':fields.integer('# of Voucher Lines', readonly=True), diff --git a/addons/account_voucher/report/account_voucher_sales_receipt_view.xml b/addons/account_voucher/report/account_voucher_sales_receipt_view.xml index 561dcf747d4..9f5e7d78d66 100644 --- a/addons/account_voucher/report/account_voucher_sales_receipt_view.xml +++ b/addons/account_voucher/report/account_voucher_sales_receipt_view.xml @@ -91,9 +91,9 @@ - + - + diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index 864ed8df941..5ceee46b2cd 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -28,7 +28,7 @@ - + @@ -61,7 +61,7 @@ - + diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml index d3bb60230c6..b3ba7c99cab 100644 --- a/addons/account_voucher/voucher_sales_purchase_view.xml +++ b/addons/account_voucher/voucher_sales_purchase_view.xml @@ -27,7 +27,7 @@ - + @@ -59,7 +59,7 @@ - + diff --git a/addons/analytic/analytic.py b/addons/analytic/analytic.py index 82b4003bc6b..7cb61ee22aa 100644 --- a/addons/analytic/analytic.py +++ b/addons/analytic/analytic.py @@ -171,7 +171,7 @@ class account_analytic_account(osv.osv): 'date_start': fields.date('Date Start'), 'date': fields.date('Date End', select=True), 'company_id': fields.many2one('res.company', 'Company', required=False), #not required because we want to allow different companies to use the same chart of account, except for leaf accounts. - 'state': fields.selection([('template', 'Template'),('draft','New'),('open','Open'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'State', required=True, + 'state': fields.selection([('template', 'Template'),('draft','New'),('open','Open'), ('cancelled', 'Cancelled'),('pending','Pending'),('close','Closed')], 'Status', required=True, help='* When an account is created its in \'Draft\' state.\ \n* If any associated partner is there, it can be in \'Open\' state.\ \n* If any pending balance is there it can be in \'Pending\'. \ diff --git a/addons/anonymization/__openerp__.py b/addons/anonymization/__openerp__.py index 1674109f63a..60ed423049d 100644 --- a/addons/anonymization/__openerp__.py +++ b/addons/anonymization/__openerp__.py @@ -25,7 +25,6 @@ 'name': 'Database Anonymization', 'version': '1.0', 'category': 'Tools', - 'complexity': "easy", 'description': """ This module allows you to anonymize a database. =============================================== diff --git a/addons/anonymization/anonymization.py b/addons/anonymization/anonymization.py index 39fb415e9e1..21c000aadf7 100644 --- a/addons/anonymization/anonymization.py +++ b/addons/anonymization/anonymization.py @@ -48,7 +48,7 @@ class ir_model_fields_anonymization(osv.osv): 'model_id': fields.many2one('ir.model', 'Object', ondelete='set null'), 'field_name': fields.char('Field Name', size=128, required=True), 'field_id': fields.many2one('ir.model.fields', 'Field', ondelete='set null'), - 'state': fields.selection(selection=FIELD_STATES, String='State', required=True, readonly=True), + 'state': fields.selection(selection=FIELD_STATES, String='Status', required=True, readonly=True), } _sql_constraints = [ @@ -209,7 +209,7 @@ class ir_model_fields_anonymization_history(osv.osv): _columns = { 'date': fields.datetime('Date', required=True, readonly=True), 'field_ids': fields.many2many('ir.model.fields.anonymization', 'anonymized_field_to_history_rel', 'field_id', 'history_id', 'Fields', readonly=True), - 'state': fields.selection(selection=ANONYMIZATION_HISTORY_STATE, string='State', required=True, readonly=True), + 'state': fields.selection(selection=ANONYMIZATION_HISTORY_STATE, string='Status', required=True, readonly=True), 'direction': fields.selection(selection=ANONYMIZATION_DIRECTION, string='Direction', required=True, readonly=True), 'msg': fields.text('Message', readonly=True), 'filepath': fields.char(string='File path', size=256, readonly=True), @@ -243,7 +243,7 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory): 'summary': fields.function(_get_summary, type='text', string='Summary'), 'file_export': fields.binary(string='Export'), 'file_import': fields.binary(string='Import'), - 'state': fields.function(_get_state, string='State', type='selection', selection=ANONYMIZATION_STATES, readonly=False), + 'state': fields.function(_get_state, string='Status', type='selection', selection=ANONYMIZATION_STATES, readonly=False), 'msg': fields.text(string='Message'), } diff --git a/addons/association/__openerp__.py b/addons/association/__openerp__.py index f75a33a8ff1..00683d18333 100644 --- a/addons/association/__openerp__.py +++ b/addons/association/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Associations Management', 'version': '0.1', 'category': 'Specific Industry Applications', - 'complexity': "normal", 'description': """ This module is to configure modules related to an association. ============================================================== diff --git a/addons/audittrail/audittrail.py b/addons/audittrail/audittrail.py index 78a180e8d4d..aee9fbd9305 100644 --- a/addons/audittrail/audittrail.py +++ b/addons/audittrail/audittrail.py @@ -43,7 +43,7 @@ class audittrail_rule(osv.osv): "log_create": fields.boolean("Log Creates",help="Select this if you want to keep track of creation on any record of the object of this rule"), "log_action": fields.boolean("Log Action",help="Select this if you want to keep track of actions on the object of this rule"), "log_workflow": fields.boolean("Log Workflow",help="Select this if you want to keep track of workflow on any record of the object of this rule"), - "state": fields.selection((("draft", "Draft"), ("subscribed", "Subscribed")), "State", required=True), + "state": fields.selection((("draft", "Draft"), ("subscribed", "Subscribed")), "Status", required=True), "action_id": fields.many2one('ir.actions.act_window', "Action ID"), } _defaults = { diff --git a/addons/audittrail/audittrail_view.xml b/addons/audittrail/audittrail_view.xml index 2e7e2c31ea8..35f8b7babd1 100644 --- a/addons/audittrail/audittrail_view.xml +++ b/addons/audittrail/audittrail_view.xml @@ -68,7 +68,7 @@ - + diff --git a/addons/base_action_rule/base_action_rule.py b/addons/base_action_rule/base_action_rule.py index 50ebd96a3c2..b208864700b 100644 --- a/addons/base_action_rule/base_action_rule.py +++ b/addons/base_action_rule/base_action_rule.py @@ -95,7 +95,7 @@ trigger date, like sending a reminder 15 minutes before a meeting."), 'trg_user_id': fields.many2one('res.users', 'Responsible'), 'trg_partner_id': fields.many2one('res.partner', 'Partner'), 'trg_partner_categ_id': fields.many2one('res.partner.category', 'Partner Category'), - 'trg_state_from': fields.selection(_state_get, 'State', size=16), + 'trg_state_from': fields.selection(_state_get, 'Status', size=16), 'trg_state_to': fields.selection(_state_get, 'Button Pressed', size=16), 'act_method': fields.char('Call Object Method', size=64), diff --git a/addons/base_calendar/__openerp__.py b/addons/base_calendar/__openerp__.py index 09b9fdc3794..1c8d35099b8 100644 --- a/addons/base_calendar/__openerp__.py +++ b/addons/base_calendar/__openerp__.py @@ -23,7 +23,6 @@ "name": "Calendar Layer", "version": "1.0", "depends": ["base", "mail"], - 'complexity': "easy", 'description': """ This is a full-featured calendar system. ======================================== diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index f91ded74685..d7d6501926f 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -337,7 +337,7 @@ class calendar_attendee(osv.osv): ('tentative', 'Tentative'), ('declined', 'Declined'), ('accepted', 'Accepted'), - ('delegated', 'Delegated')], 'State', readonly=True, \ + ('delegated', 'Delegated')], 'Status', readonly=True, \ help="Status of the attendee's participation"), 'rsvp': fields.boolean('Required Reply?', help="Indicats whether the favor of a reply is requested"), @@ -767,7 +767,7 @@ class calendar_alarm(osv.osv): ('run', 'Run'), ('stop', 'Stop'), ('done', 'Done'), - ], 'State', select=True, readonly=True), + ], 'Status', select=True, readonly=True), } _defaults = { @@ -1038,7 +1038,7 @@ class calendar_event(osv.osv): 'state': fields.selection([('tentative', 'Tentative'), ('cancelled', 'Cancelled'), ('confirmed', 'Confirmed'), - ], 'State', readonly=True), + ], 'Status', readonly=True), 'exdate': fields.text('Exception Date/Times', help="This property \ defines the list of date/time exceptions for a recurring calendar component."), 'exrule': fields.char('Exception Rule', size=352, help="Defines a \ diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml index 76304c7da8a..6d98e936821 100644 --- a/addons/base_calendar/base_calendar_view.xml +++ b/addons/base_calendar/base_calendar_view.xml @@ -144,7 +144,7 @@ - @@ -356,9 +356,7 @@ - - - + - + @@ -140,7 +140,7 @@ - - + diff --git a/addons/crm/report/crm_phonecall_report.py b/addons/crm/report/crm_phonecall_report.py index ccf0775cfd5..8ee32cfc416 100644 --- a/addons/crm/report/crm_phonecall_report.py +++ b/addons/crm/report/crm_phonecall_report.py @@ -45,7 +45,7 @@ class crm_phonecall_report(osv.osv): 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True), 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'), 'nbr': fields.integer('# of Cases', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/crm/report/crm_phonecall_report_view.xml b/addons/crm/report/crm_phonecall_report_view.xml index b599bb0d303..c91999319ce 100644 --- a/addons/crm/report/crm_phonecall_report_view.xml +++ b/addons/crm/report/crm_phonecall_report_view.xml @@ -83,7 +83,7 @@ domain="[('section_id.user_id','=',uid)]" help="My Sales Team(s)" /> - + @@ -99,7 +99,7 @@ - - + + + + + + + res.partner.kanban.inherit + res.partner + kanban + + + + + + + + + Opportunities() + + + Meetings() + + + + + res.partner.crm.info.inherit1 diff --git a/addons/crm_caldav/__openerp__.py b/addons/crm_caldav/__openerp__.py index c85080470ad..ce3193a595d 100644 --- a/addons/crm_caldav/__openerp__.py +++ b/addons/crm_caldav/__openerp__.py @@ -25,7 +25,6 @@ 'name': 'Meetings Synchronization', 'version': '1.1', 'category': 'Customer Relationship Management', - 'complexity': "normal", 'description': """ Caldav features in Meeting. =========================== diff --git a/addons/crm_claim/__openerp__.py b/addons/crm_claim/__openerp__.py index 2423bdcea7a..9e7848eb6c3 100644 --- a/addons/crm_claim/__openerp__.py +++ b/addons/crm_claim/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Claims Management', 'version': '1.0', 'category': 'Customer Relationship Management', - 'complexity': "easy", 'description': """ This modules allows you to track your customers/suppliers claims and grievances. ================================================================================ diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml index c9764543dbd..1ed3f448449 100644 --- a/addons/crm_claim/crm_claim_view.xml +++ b/addons/crm_claim/crm_claim_view.xml @@ -225,7 +225,7 @@ domain="[]" context="{'group_by':'stage_id'}" /> - diff --git a/addons/crm_claim/report/crm_claim_report.py b/addons/crm_claim/report/crm_claim_report.py index 6075a842182..4cda15c0969 100644 --- a/addons/crm_claim/report/crm_claim_report.py +++ b/addons/crm_claim/report/crm_claim_report.py @@ -51,7 +51,7 @@ class crm_claim_report(osv.osv): 'user_id':fields.many2one('res.users', 'User', readonly=True), 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True), 'nbr': fields.integer('# of Cases', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/crm_claim/report/crm_claim_report_view.xml b/addons/crm_claim/report/crm_claim_report_view.xml index 811b0e8eee4..62beda00c8a 100644 --- a/addons/crm_claim/report/crm_claim_report_view.xml +++ b/addons/crm_claim/report/crm_claim_report_view.xml @@ -95,7 +95,7 @@ help="My company"/> - + @@ -121,7 +121,7 @@ - - + - diff --git a/addons/crm_fundraising/report/crm_fundraising_report.py b/addons/crm_fundraising/report/crm_fundraising_report.py index c0f3ec8c3a6..74f36aebfb1 100644 --- a/addons/crm_fundraising/report/crm_fundraising_report.py +++ b/addons/crm_fundraising/report/crm_fundraising_report.py @@ -42,7 +42,7 @@ class crm_fundraising_report(osv.osv): 'user_id':fields.many2one('res.users', 'User', readonly=True), 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True), 'nbr': fields.integer('# of Cases', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/crm_fundraising/report/crm_fundraising_report_view.xml b/addons/crm_fundraising/report/crm_fundraising_report_view.xml index 4a0323ff4da..6cdf7410348 100644 --- a/addons/crm_fundraising/report/crm_fundraising_report_view.xml +++ b/addons/crm_fundraising/report/crm_fundraising_report_view.xml @@ -112,7 +112,7 @@ domain="[('section_id.user_id.company_id','=',uid)]" help="My company"/> - + @@ -129,13 +129,13 @@ - - diff --git a/addons/crm_helpdesk/__openerp__.py b/addons/crm_helpdesk/__openerp__.py index e5c4efd5b79..7e8b69bbc4c 100644 --- a/addons/crm_helpdesk/__openerp__.py +++ b/addons/crm_helpdesk/__openerp__.py @@ -24,7 +24,6 @@ 'category': 'Customer Relationship Management', 'name': 'Helpdesk', 'version': '1.0', - 'complexity': "easy", 'description': """ Helpdesk Management. ==================== diff --git a/addons/crm_helpdesk/crm_helpdesk.py b/addons/crm_helpdesk/crm_helpdesk.py index 7717ae2ce21..d5ee8efc17e 100644 --- a/addons/crm_helpdesk/crm_helpdesk.py +++ b/addons/crm_helpdesk/crm_helpdesk.py @@ -72,7 +72,7 @@ class crm_helpdesk(crm.crm_case, osv.osv): domain="['|',('section_id','=',False),('section_id','=',section_id),\ ('object_id.model', '=', 'crm.helpdesk')]"), 'duration': fields.float('Duration', states={'done': [('readonly', True)]}), - 'state': fields.selection(crm.AVAILABLE_STATES, 'State', size=16, readonly=True, + 'state': fields.selection(crm.AVAILABLE_STATES, 'Status', size=16, readonly=True, help='The state is set to \'Draft\', when a case is created.\ \nIf the case is in progress the state is set to \'Open\'.\ \nWhen the case is over, the state is set to \'Done\'.\ diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml index d36ea8db8c5..b1d5a2b96f8 100644 --- a/addons/crm_helpdesk/crm_helpdesk_view.xml +++ b/addons/crm_helpdesk/crm_helpdesk_view.xml @@ -239,7 +239,7 @@ - - + @@ -99,7 +99,7 @@ - - - + diff --git a/addons/crm_partner_assign/report/crm_lead_report.py b/addons/crm_partner_assign/report/crm_lead_report.py index ab806414cbd..7d9733581a7 100644 --- a/addons/crm_partner_assign/report/crm_lead_report.py +++ b/addons/crm_partner_assign/report/crm_lead_report.py @@ -43,7 +43,7 @@ class crm_lead_report_assign(osv.osv): 'user_id':fields.many2one('res.users', 'User', readonly=True), 'country_id':fields.many2one('res.country', 'Country', readonly=True), 'section_id':fields.many2one('crm.case.section', 'Sales Team', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/crm_partner_assign/report/crm_lead_report_view.xml b/addons/crm_partner_assign/report/crm_lead_report_view.xml index 256719c8742..18b31c009ad 100644 --- a/addons/crm_partner_assign/report/crm_lead_report_view.xml +++ b/addons/crm_partner_assign/report/crm_lead_report_view.xml @@ -44,7 +44,7 @@ - @@ -62,7 +62,7 @@ - - diff --git a/addons/crm_profiling/__openerp__.py b/addons/crm_profiling/__openerp__.py index f3c1b30bb59..52fcf1173ed 100644 --- a/addons/crm_profiling/__openerp__.py +++ b/addons/crm_profiling/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Customer Profiling', 'version': '1.3', 'category': 'Marketing', - 'complexity': "easy", 'description': """ This module allows users to perform segmentation within partners. ================================================================= diff --git a/addons/crm_todo/__openerp__.py b/addons/crm_todo/__openerp__.py index 674f5bc9373..824dac13c21 100644 --- a/addons/crm_todo/__openerp__.py +++ b/addons/crm_todo/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Tasks on CRM', 'version': '1.0', "category": 'Customer Relationship Management', - 'complexity': "easy", 'description': """ Todo list for CRM leads and opportunities. """, diff --git a/addons/decimal_precision/__openerp__.py b/addons/decimal_precision/__openerp__.py index 0aafef9fe1f..53c05e4dd63 100644 --- a/addons/decimal_precision/__openerp__.py +++ b/addons/decimal_precision/__openerp__.py @@ -31,7 +31,6 @@ The decimal precision is configured per company. "version": "0.1", "depends": ["base"], "category" : "Hidden/Dependency", - 'complexity': "easy", "init_xml": [], "update_xml": [ 'decimal_precision_view.xml', diff --git a/addons/delivery/__openerp__.py b/addons/delivery/__openerp__.py index 3a190bffd89..52d4eacda5e 100644 --- a/addons/delivery/__openerp__.py +++ b/addons/delivery/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Delivery Costs', 'version': '1.0', 'category': 'Sales Management', - 'complexity': "normal", 'description': """ Allows you to add delivery methods in sale orders and picking. ============================================================== diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index 6691ab53da3..d8e42703efc 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Document Management System', 'version': '2.1', 'category': 'Knowledge Management', - 'complexity': "normal", 'description': """ This is a complete document management system. ============================================== diff --git a/addons/document/board_document_view.xml b/addons/document/board_document_view.xml index 27325662815..acfcf4cb63a 100644 --- a/addons/document/board_document_view.xml +++ b/addons/document/board_document_view.xml @@ -49,9 +49,6 @@ id="menu_reports_document_manager" icon="terp-graph"/> - - board.document.manager.form1 board.board diff --git a/addons/document_ftp/__openerp__.py b/addons/document_ftp/__openerp__.py index f6ab4616b2d..17275eaebbd 100644 --- a/addons/document_ftp/__openerp__.py +++ b/addons/document_ftp/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Shared Repositories (FTP)', 'version': '1.99', 'category': 'Knowledge Management', - 'complexity': "normal", 'description': """ This is a support FTP Interface with document management system. ================================================================ diff --git a/addons/document_webdav/__openerp__.py b/addons/document_webdav/__openerp__.py index 82541b742c4..ec50d9301dc 100644 --- a/addons/document_webdav/__openerp__.py +++ b/addons/document_webdav/__openerp__.py @@ -33,7 +33,6 @@ "version" : "2.3", "author" : "OpenERP SA", "category" : "Knowledge Management", - 'complexity': "normal", "website": "http://www.openerp.com", "description": """ With this module, the WebDAV server for documents is activated. diff --git a/addons/edi/__openerp__.py b/addons/edi/__openerp__.py index c4595e69112..580b838d155 100644 --- a/addons/edi/__openerp__.py +++ b/addons/edi/__openerp__.py @@ -22,7 +22,6 @@ 'name': 'Electronic Data Interchange (EDI)', 'version': '1.0', 'category': 'Tools', - 'complexity': "easy", 'description': """ Provides a common EDI platform that other Applications can use ============================================================== diff --git a/addons/edi/static/src/xml/edi_sale_purchase.xml b/addons/edi/static/src/xml/edi_sale_purchase.xml index 4e0fdd7fc4e..698b322606f 100644 --- a/addons/edi/static/src/xml/edi_sale_purchase.xml +++ b/addons/edi/static/src/xml/edi_sale_purchase.xml @@ -39,7 +39,7 @@ Your Reference Date - Salesman + Salesperson Payment terms diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index 10f5be678b8..dbe53b3d547 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -26,7 +26,6 @@ "author" : "OpenERP,OpenLabs", "website" : "http://openerp.com", "category" : "Marketing", - 'complexity': "expert", "depends" : ['mail'], "description": """ Email Templating (simplified version of the original Power Email by Openlabs) diff --git a/addons/event/__openerp__.py b/addons/event/__openerp__.py index ea0e4316ef5..5a829f63f43 100644 --- a/addons/event/__openerp__.py +++ b/addons/event/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Events Organisation', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ Organization and management of Events. ====================================== diff --git a/addons/event/event.py b/addons/event/event.py index 838918850ce..72669c8b080 100644 --- a/addons/event/event.py +++ b/addons/event/event.py @@ -188,7 +188,7 @@ class event_event(osv.osv): ('cancel', 'Cancelled'), ('confirm', 'Confirmed'), ('done', 'Done')], - 'State', readonly=True, required=True, + 'Status', readonly=True, required=True, help='If event is created, the state is \'Draft\'.If event is confirmed for the particular dates the state is set to \'Confirmed\'. If the event is over, the state is set to \'Done\'.If event is cancelled the state is set to \'Cancelled\'.'), 'email_registration_id' : fields.many2one('email.template','Registration Confirmation Email', help='This field contains the template of the mail that will be automatically sent each time a registration for this event is confirmed.'), 'email_confirmation_id' : fields.many2one('email.template','Event Confirmation Email', help="If you set an email template, each participant will receive this email announcing the confirmation of the event."), @@ -257,7 +257,7 @@ class event_registration(osv.osv): _inherit = ['mail.thread','res.partner'] _columns = { 'id': fields.integer('ID'), - 'origin': fields.char('Origin', size=124,readonly=True,help="Name of the sale order which create the registration"), + 'origin': fields.char('Source', size=124,readonly=True,help="Name of the sale order which create the registration"), 'nb_register': fields.integer('Number of Participants', required=True, readonly=True, states={'draft': [('readonly', False)]}), 'event_id': fields.many2one('event.event', 'Event', required=True, readonly=True, states={'draft': [('readonly', False)]}), 'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}), @@ -273,7 +273,7 @@ class event_registration(osv.osv): 'state': fields.selection([('draft', 'Unconfirmed'), ('cancel', 'Cancelled'), ('open', 'Confirmed'), - ('done', 'Attended')], 'State', + ('done', 'Attended')], 'Status', size=16, readonly=True), } diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index ecad0182982..78d5f8f421a 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -287,7 +287,7 @@ - + @@ -473,7 +473,7 @@ - + diff --git a/addons/event_moodle/__openerp__.py b/addons/event_moodle/__openerp__.py index f6367aaa40b..82fccad0914 100644 --- a/addons/event_moodle/__openerp__.py +++ b/addons/event_moodle/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Event Moodle', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ Configure your moodle server diff --git a/addons/event_project/__openerp__.py b/addons/event_project/__openerp__.py index f7af0301de6..a843188de55 100644 --- a/addons/event_project/__openerp__.py +++ b/addons/event_project/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Retro-Planning on Events', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ Organization and management of events. ====================================== diff --git a/addons/event_sale/__openerp__.py b/addons/event_sale/__openerp__.py index d8f689986e2..d06e964c483 100644 --- a/addons/event_sale/__openerp__.py +++ b/addons/event_sale/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Events Sales', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ Creating registration with sale orders. ======================================= diff --git a/addons/event_sale_layout/__openerp__.py b/addons/event_sale_layout/__openerp__.py index c81c4c83c7b..1d850a0d4fd 100644 --- a/addons/event_sale_layout/__openerp__.py +++ b/addons/event_sale_layout/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Events Sales layout', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ This module ensures the compatibility of the changes made on the sale.order.line form view in event_sale with the sale_layout module (that is replacing the whole field in the view by another one). Its installation is automatically triggered when both modules are installed. """, diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 51702cf28fe..93ebd063051 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -53,7 +53,7 @@ class fetchmail_server(osv.osv): 'state':fields.selection([ ('draft', 'Not Confirmed'), ('done', 'Confirmed'), - ], 'State', select=True, readonly=True), + ], 'Status', select=True, readonly=True), 'server' : fields.char('Server Name', size=256, readonly=True, help="Hostname or IP of the mail server", states={'draft':[('readonly', False)]}), 'port' : fields.integer('Port', readonly=True, states={'draft':[('readonly', False)]}), 'type':fields.selection([ diff --git a/addons/hr/__openerp__.py b/addons/hr/__openerp__.py index 482eaaafda0..d7fb8b0e91a 100644 --- a/addons/hr/__openerp__.py +++ b/addons/hr/__openerp__.py @@ -25,7 +25,6 @@ "author": "OpenERP SA", "category": "Human Resources", "sequence": 12, - 'complexity': "easy", "website": "http://www.openerp.com", "description": """ Module for human resource management. diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 030cafcbb45..9d1ba1c9f05 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -110,7 +110,7 @@ class hr_job(osv.osv): 'requirements': fields.text('Requirements'), 'department_id': fields.many2one('hr.department', 'Department'), 'company_id': fields.many2one('res.company', 'Company'), - 'state': fields.selection([('open', 'In Position'),('recruit', 'In Recruitement'),('old', 'Old')], 'State', readonly=True, required=True), + 'state': fields.selection([('open', 'In Position'),('recruit', 'In Recruitement'),('old', 'Old')], 'Status', readonly=True, required=True), } _defaults = { 'expected_employees': 1, diff --git a/addons/hr/hr_board.xml b/addons/hr/hr_board.xml index b026b40bd80..e665c5067eb 100644 --- a/addons/hr/hr_board.xml +++ b/addons/hr/hr_board.xml @@ -24,7 +24,6 @@ - @@ -52,7 +51,5 @@ - - diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 1e07a4c81c6..32eb3a84c83 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -418,7 +418,7 @@ - + diff --git a/addons/hr_attendance/__openerp__.py b/addons/hr_attendance/__openerp__.py index c903a87abc4..a1ba099d012 100644 --- a/addons/hr_attendance/__openerp__.py +++ b/addons/hr_attendance/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Attendances', 'version': '1.1', 'category': 'Human Resources', - 'complexity': "easy", 'description': """ This module aims to manage employee's attendances. ================================================== diff --git a/addons/hr_contract/__openerp__.py b/addons/hr_contract/__openerp__.py index 9ad1c4aebe3..d3fa464fb58 100644 --- a/addons/hr_contract/__openerp__.py +++ b/addons/hr_contract/__openerp__.py @@ -24,7 +24,6 @@ 'name': "Employee Contracts", 'version': '1.0', 'category': 'Human Resources', - 'complexity': "easy", 'description': """ Add all information on the employee form to manage contracts. ============================================================= diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py index 4d62e9e0fd5..231f4593868 100644 --- a/addons/hr_evaluation/__openerp__.py +++ b/addons/hr_evaluation/__openerp__.py @@ -24,7 +24,6 @@ "version": "0.1", "author": "OpenERP SA", "category": "Human Resources", - 'complexity': "easy", "website": "http://www.openerp.com", "images": ["images/hr_evaluation_analysis.jpeg","images/hr_evaluation.jpeg"], "depends": ["hr","base_calendar","survey"], diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index 3924aeaecbf..80ab03f22e7 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -165,7 +165,7 @@ class hr_evaluation(osv.osv): ('wait','Plan In Progress'), ('progress','Waiting Appreciation'), ('done','Done'), - ], 'State', required=True, readonly=True), + ], 'Status', required=True, readonly=True), 'date_close': fields.date('Ending Date', select=True), 'progress': fields.float("Progress"), } diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index d87b44aa2be..a8d0eee63f9 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -195,7 +195,7 @@ - + @@ -267,7 +267,7 @@ - + @@ -313,7 +313,7 @@ - + @@ -361,7 +361,7 @@ - + diff --git a/addons/hr_evaluation/report/hr_evaluation_report.py b/addons/hr_evaluation/report/hr_evaluation_report.py index bd9e5874d10..a5f4bc71e2f 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report.py +++ b/addons/hr_evaluation/report/hr_evaluation_report.py @@ -56,7 +56,7 @@ class hr_evaluation_report(osv.osv): ('progress','Final Validation'), ('done','Done'), ('cancel','Cancelled'), - ], 'State',readonly=True), + ], 'Status',readonly=True), } _order = 'create_date desc' def init(self, cr): diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml index b82c8f6f850..a0ef05fcf69 100644 --- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml +++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml @@ -82,7 +82,7 @@ - + diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py index eede2be39e0..cbf8b322b36 100644 --- a/addons/hr_expense/__openerp__.py +++ b/addons/hr_expense/__openerp__.py @@ -25,7 +25,6 @@ 'version': '1.0', 'category': 'Human Resources', "sequence": 30, - 'complexity': "easy", 'description': """ This module aims to manage employee's expenses. =============================================== diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index de5490fd0e1..9d7ec10cc28 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -85,8 +85,8 @@ class hr_expense_expense(osv.osv): ('invoiced', 'Invoiced'), ('paid', 'Reimbursed') ], - 'State', readonly=True, help='When the expense request is created the state is \'Draft\'.\n It is confirmed by the user and request is sent to admin, the state is \'Waiting Confirmation\'.\ - \nIf the admin accepts it, the state is \'Accepted\'.\n If an invoice is made for the expense request, the state is \'Invoiced\'.\n If the expense is paid to user, the state is \'Reimbursed\'.'), + 'Status', readonly=True, help='When the expense request is created the status is \'Draft\'.\n It is confirmed by the user and request is sent to admin, the status is \'Waiting Confirmation\'.\ + \nIf the admin accepts it, the status is \'Accepted\'.\n If an invoice is made for the expense request, the status is \'Invoiced\'.\n If the expense is paid to user, the status is \'Reimbursed\'.'), } _defaults = { 'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'hr.employee', context=c), diff --git a/addons/hr_expense/report/hr_expense_report.py b/addons/hr_expense/report/hr_expense_report.py index 325a1d850c8..adef11f5269 100644 --- a/addons/hr_expense/report/hr_expense_report.py +++ b/addons/hr_expense/report/hr_expense_report.py @@ -63,7 +63,7 @@ class hr_expense_report(osv.osv): ('invoiced', 'Invoiced'), ('paid', 'Reimbursed'), ('cancelled', 'Cancelled')], - 'State', readonly=True), + 'Status', readonly=True), } _order = 'date desc' def init(self, cr): diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml index 32f4ab32b65..c007f2c2509 100644 --- a/addons/hr_expense/report/hr_expense_report_view.xml +++ b/addons/hr_expense/report/hr_expense_report_view.xml @@ -98,7 +98,7 @@ - + diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index 71c91136f97..e60f53d7d1e 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -26,7 +26,6 @@ "author": "OpenERP SA", "category": "Human Resources", "sequence": 28, - 'complexity': "easy", "website": "http://www.openerp.com", "description": """ This module allows you to manage leaves and leaves' requests. diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 08f4904a2ce..4e68cdfb2f9 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -114,10 +114,10 @@ class hr_holidays(osv.osv): 'name': fields.char('Description', required=True, size=64), 'state': fields.selection([('draft', 'New'), ('cancel', 'Cancelled'),('confirm', 'Waiting Approval'), ('refuse', 'Refused'), ('validate1', 'Waiting Second Approval'), ('validate', 'Approved')], - 'State', readonly=True, help='The state is set to \'Draft\', when a holiday request is created.\ - \nThe state is \'Waiting Approval\', when holiday request is confirmed by user.\ - \nThe state is \'Refused\', when holiday request is refused by manager.\ - \nThe state is \'Approved\', when holiday request is approved by manager.'), + 'Status', readonly=True, help='The status is set to \'Draft\', when a holiday request is created.\ + \nThe status is \'Waiting Approval\', when holiday request is confirmed by user.\ + \nThe status is \'Refused\', when holiday request is refused by manager.\ + \nThe status is \'Approved\', when holiday request is approved by manager.'), 'user_id':fields.related('employee_id', 'user_id', type='many2one', relation='res.users', string='User', store=True), 'date_from': fields.datetime('Start Date', readonly=True, states={'draft':[('readonly',False)]}, select=True), 'date_to': fields.datetime('End Date', readonly=True, states={'draft':[('readonly',False)]}), @@ -202,7 +202,7 @@ class hr_holidays(osv.osv): def unlink(self, cr, uid, ids, context=None): for rec in self.browse(cr, uid, ids, context=context): if rec.state<>'draft': - raise osv.except_osv(_('Warning!'),_('You cannot delete a leave which is not in draft state !')) + raise osv.except_osv(_('Warning!'),_('You cannot delete a leave which is not in draft status !')) return super(hr_holidays, self).unlink(cr, uid, ids, context) def onchange_date_from(self, cr, uid, ids, date_to, date_from): @@ -484,18 +484,23 @@ class hr_employee(osv.osv): remaining[employee_id] = 0.0 return remaining - def _get_leave_status(self, cr, uid, ids, name, args, context=None): - holidays_id = self.pool.get('hr.holidays').search(cr, uid, - [('employee_id', 'in', ids), ('date_from','<=',time.strftime('%Y-%m-%d %H:%M:%S')), - ('date_to','>=',time.strftime('%Y-%m-%d %H:%M:%S')),('type','=','remove'),('state','not in',('cancel','refuse'))], + def _get_leave_status(self, cr, uid, ids, name, args, context=None): + holidays_obj = self.pool.get('hr.holidays') + holidays_id = holidays_obj.search(cr, uid, + [('employee_id', 'in', ids), ('date_from','<=',time.strftime('%Y-%m-%d %H:%M:%S')), + ('date_to','>=',time.strftime('%Y-%m-%d 23:59:59')),('type','=','remove'),('state','not in',('cancel','refuse'))], context=context) result = {} for id in ids: result[id] = { 'current_leave_state': False, 'current_leave_id': False, + 'leave_date_from':False, + 'leave_date_to':False, } for holiday in self.pool.get('hr.holidays').browse(cr, uid, holidays_id, context=context): + result[holiday.employee_id.id]['leave_date_from'] = holiday.date_from + result[holiday.employee_id.id]['leave_date_to'] = holiday.date_to result[holiday.employee_id.id]['current_leave_state'] = holiday.state result[holiday.employee_id.id]['current_leave_id'] = holiday.holiday_status_id.id return result @@ -506,6 +511,8 @@ class hr_employee(osv.osv): selection=[('draft', 'New'), ('confirm', 'Waiting Approval'), ('refuse', 'Refused'), ('validate1', 'Waiting Second Approval'), ('validate', 'Approved'), ('cancel', 'Cancelled')]), 'current_leave_id': fields.function(_get_leave_status, multi="leave_status", string="Current Leave Type",type='many2one', relation='hr.holidays.status'), + 'leave_date_from': fields.function(_get_leave_status, multi='leave_status', type='date', string='From Date'), + 'leave_date_to': fields.function(_get_leave_status, multi='leave_status', type='date', string='To Date'), 'last_login': fields.related('user_id', 'date', type='datetime', string='Latest Connection', readonly=1) } diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 57756c5cb35..32cdcb53011 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -37,7 +37,7 @@ - + @@ -526,11 +526,13 @@ + +
  • - + diff --git a/addons/hr_holidays/security/ir_rule.xml b/addons/hr_holidays/security/ir_rule.xml index f05008203df..8e8c97bf7ea 100644 --- a/addons/hr_holidays/security/ir_rule.xml +++ b/addons/hr_holidays/security/ir_rule.xml @@ -2,18 +2,5 @@ - - Manager Holidays - - [(1,'=',1)] - - - - Employee Holidays - - [('employee_id.user_id','=',user.id)] - - - diff --git a/addons/hr_payroll/__openerp__.py b/addons/hr_payroll/__openerp__.py index 560bec7093c..dc50c530927 100644 --- a/addons/hr_payroll/__openerp__.py +++ b/addons/hr_payroll/__openerp__.py @@ -24,7 +24,6 @@ 'version': '1.0', 'category': 'Human Resources', "sequence": 38, - 'complexity': "normal", 'description': """ Generic Payroll system. ======================= @@ -73,7 +72,7 @@ Generic Payroll system. 'installable': True, 'auto_install': False, 'certificate' : '001046261404562128861', - 'application': True, + 'application': False, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_payroll/hr_payroll.py b/addons/hr_payroll/hr_payroll.py index 5c16655a530..e8f96df261b 100644 --- a/addons/hr_payroll/hr_payroll.py +++ b/addons/hr_payroll/hr_payroll.py @@ -218,7 +218,7 @@ class hr_payslip_run(osv.osv): 'state': fields.selection([ ('draft', 'Draft'), ('close', 'Close'), - ], 'State', select=True, readonly=True), + ], 'Status', select=True, readonly=True), 'date_start': fields.date('Date From', required=True, readonly=True, states={'draft': [('readonly', False)]}), 'date_end': fields.date('Date To', required=True, readonly=True, states={'draft': [('readonly', False)]}), 'credit_note': fields.boolean('Credit Note', readonly=True, states={'draft': [('readonly', False)]}, help="If its checked, indicates that all payslips generated from here are refund payslips."), @@ -271,7 +271,7 @@ class hr_payslip(osv.osv): ('verify', 'Waiting'), ('done', 'Done'), ('cancel', 'Rejected'), - ], 'State', select=True, readonly=True, + ], 'Status', select=True, readonly=True, help='* When the payslip is created the state is \'Draft\'.\ \n* If the payslip is under verification, the state is \'Waiting\'. \ \n* If the payslip is confirmed then state is set to \'Done\'.\ diff --git a/addons/hr_payroll_account/__openerp__.py b/addons/hr_payroll_account/__openerp__.py index 42695c61e29..9ea8a10bbb8 100644 --- a/addons/hr_payroll_account/__openerp__.py +++ b/addons/hr_payroll_account/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Payroll Accounting', 'version': '1.0', 'category': 'Human Resources', - 'complexity': "expert", 'description': """ Generic Payroll system Integrated with Accountings. =================================================== diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py index 4b6e3fb48b2..4a29befbfaf 100644 --- a/addons/hr_recruitment/__openerp__.py +++ b/addons/hr_recruitment/__openerp__.py @@ -24,7 +24,6 @@ 'version': '1.0', 'category': 'Human Resources', "sequence": 24, - 'complexity': "easy", 'description': """ Manages job positions and the recruitment process. ================================================== diff --git a/addons/hr_recruitment/hr_recruitment_demo.yml b/addons/hr_recruitment/hr_recruitment_demo.yml index 9160c2fb1d2..59508b83c28 100644 --- a/addons/hr_recruitment/hr_recruitment_demo.yml +++ b/addons/hr_recruitment/hr_recruitment_demo.yml @@ -7,7 +7,7 @@ partner_mobile: '9963214587' job_id: hr.job_developer stage_id: stage_job1 - name: 'Salesman' + name: 'Salesperson' partner_phone: '1236547890' - diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml index 426185abf86..058eb3e2e6c 100644 --- a/addons/hr_recruitment/hr_recruitment_menu.xml +++ b/addons/hr_recruitment/hr_recruitment_menu.xml @@ -4,7 +4,7 @@ ######################## JOB OPPORTUNITIES (menu) ########################### - Applicants + Applications hr.applicant kanban,tree,form,graph,calendar @@ -50,7 +50,7 @@ diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index c94a73b8ba7..0384c070147 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -214,7 +214,7 @@ - + diff --git a/addons/hr_recruitment/report/hr_recruitment_report.py b/addons/hr_recruitment/report/hr_recruitment_report.py index 1a596dfa2c6..5c74bac4a5a 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report.py +++ b/addons/hr_recruitment/report/hr_recruitment_report.py @@ -41,7 +41,7 @@ class hr_recruitment_report(osv.osv): _columns = { 'user_id': fields.many2one('res.users', 'User', readonly=True), 'nbr': fields.integer('# of Cases', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml index ff3e3e62c21..6fee524157a 100644 --- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml +++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml @@ -109,7 +109,7 @@ - + diff --git a/addons/hr_timesheet/__openerp__.py b/addons/hr_timesheet/__openerp__.py index f641432cdb6..6b8e618116e 100644 --- a/addons/hr_timesheet/__openerp__.py +++ b/addons/hr_timesheet/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Timesheets', 'version': '1.0', "category": "Human Resources", - 'complexity': "easy", 'description': """ This module implements a timesheet system. ========================================== diff --git a/addons/hr_timesheet_invoice/report/report_analytic.py b/addons/hr_timesheet_invoice/report/report_analytic.py index 7c6651301d2..0ff758189ff 100644 --- a/addons/hr_timesheet_invoice/report/report_analytic.py +++ b/addons/hr_timesheet_invoice/report/report_analytic.py @@ -30,7 +30,7 @@ class report_analytic_account_close(osv.osv): _auto = False _columns = { 'name': fields.many2one('account.analytic.account', 'Analytic account', readonly=True), - 'state': fields.char('State', size=32, readonly=True), + 'state': fields.char('Status', size=32, readonly=True), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), 'quantity': fields.float('Quantity', readonly=True), 'quantity_max': fields.float('Max. Quantity', readonly=True), diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index 3e0f3963ad5..f9d662b9b5d 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -357,7 +357,7 @@ class hr_timesheet_sheet(osv.osv): ('new', 'New'), ('draft','Open'), ('confirm','Waiting Approval'), - ('done','Approved')], 'State', select=True, required=True, readonly=True, + ('done','Approved')], 'Status', select=True, required=True, readonly=True, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed timesheet. \ \n* The \'Confirmed\' state is used for to confirm the timesheet by user. \ \n* The \'Done\' state is used when users timesheet is accepted by his/her senior.'), diff --git a/addons/hr_timesheet_sheet/report/timesheet_report.py b/addons/hr_timesheet_sheet/report/timesheet_report.py index 986beb453eb..38e19d708d4 100644 --- a/addons/hr_timesheet_sheet/report/timesheet_report.py +++ b/addons/hr_timesheet_sheet/report/timesheet_report.py @@ -51,7 +51,7 @@ class timesheet_report(osv.osv): ('new', 'New'), ('draft','Draft'), ('confirm','Confirmed'), - ('done','Done')], 'State', readonly=True), + ('done','Done')], 'Status', readonly=True), 'quantity': fields.float('#Quantity',readonly=True), 'cost': fields.float('#Cost',readonly=True), } diff --git a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml index 96277f10c78..7c06971c7d2 100644 --- a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml +++ b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml @@ -102,7 +102,7 @@ - + diff --git a/addons/idea/__openerp__.py b/addons/idea/__openerp__.py index 9fdb3e8fffe..8f65ea2eaa0 100644 --- a/addons/idea/__openerp__.py +++ b/addons/idea/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Ideas', 'version': '0.1', 'category': 'Tools', - 'complexity': "easy", 'description': """ This module allows your user to easily and efficiently participate in enterprise innovation. ============================================================================================ diff --git a/addons/idea/idea.py b/addons/idea/idea.py index 60fb6d0b502..660b54bd440 100644 --- a/addons/idea/idea.py +++ b/addons/idea/idea.py @@ -189,7 +189,7 @@ class idea_idea(osv.osv): ('open', 'Opened'), ('cancel', 'Refused'), ('close', 'Accepted')], - 'State', readonly=True, + 'Status', readonly=True, help='When the Idea is created the state is \'Draft\'.\n It is \ opened by the user, the state is \'Opened\'.\ \nIf the idea is accepted, the state is \'Accepted\'.' diff --git a/addons/idea/idea_view.xml b/addons/idea/idea_view.xml index a3a1f2937ec..3d541f8aa8e 100644 --- a/addons/idea/idea_view.xml +++ b/addons/idea/idea_view.xml @@ -298,7 +298,7 @@ - + diff --git a/addons/idea/report/report_vote.py b/addons/idea/report/report_vote.py index f44786ef8a9..84f7b5c033f 100644 --- a/addons/idea/report/report_vote.py +++ b/addons/idea/report/report_vote.py @@ -41,7 +41,7 @@ class report_vote(osv.osv): 'idea_state': fields.selection([('draft', 'Draft'),('open', 'Opened'), ('close', 'Accepted'), ('cancel', 'Cancelled')], - 'State'), + 'Status'), 'category_id': fields.many2one('idea.category', 'Category'), 'creater_id': fields.many2one('res.users', 'User Name'), diff --git a/addons/idea/report/report_vote_view.xml b/addons/idea/report/report_vote_view.xml index f3b722a4ce5..951ace27f4a 100644 --- a/addons/idea/report/report_vote_view.xml +++ b/addons/idea/report/report_vote_view.xml @@ -64,7 +64,7 @@ - + diff --git a/addons/knowledge/__openerp__.py b/addons/knowledge/__openerp__.py index edefd6655ea..dca620b0f07 100644 --- a/addons/knowledge/__openerp__.py +++ b/addons/knowledge/__openerp__.py @@ -26,7 +26,6 @@ "depends" : ["base","base_setup"], "author" : "OpenERP SA", 'category': 'Hidden/Dependency', - 'complexity': "easy", "description": """ Installer for knowledge-based Hidden. ===================================== diff --git a/addons/l10n_uy/__openerp__.py b/addons/l10n_uy/__openerp__.py index b68c6e9cb18..4edfe22e1e8 100644 --- a/addons/l10n_uy/__openerp__.py +++ b/addons/l10n_uy/__openerp__.py @@ -34,7 +34,6 @@ General Chart of Accounts Provide Templates for Chart of Accounts, Taxes for Uruguay """, - "complexity": "normal", "license" : "AGPL-3", "depends" : [ "account", diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py index 363b0b3a2c2..4ce4eaf3d6b 100644 --- a/addons/lunch/__openerp__.py +++ b/addons/lunch/__openerp__.py @@ -22,7 +22,6 @@ { "name": "Lunch Orders", "author": "OpenERP SA", - 'complexity': "easy", "Description": """ The lunch module is for keeping a record of the order placed and payment of the orders. ======================================================================================= diff --git a/addons/lunch/lunch.py b/addons/lunch/lunch.py index 226f38b349a..3b06ea5ce32 100644 --- a/addons/lunch/lunch.py +++ b/addons/lunch/lunch.py @@ -138,7 +138,7 @@ class lunch_order(osv.osv): 'descript': fields.char('Description Order', readonly=True, size=250, \ states = {'draft':[('readonly', False)]}), 'state': fields.selection([('draft', 'New'), ('confirmed', 'Confirmed'), ], \ - 'State', readonly=True, select=True), + 'Status', readonly=True, select=True), 'price': fields.function(_price_get, string="Price"), 'category': fields.many2one('lunch.category','Category'), } diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 81719794f69..39413a80bed 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Emails Management', 'version': '1.0', 'category': 'Hidden/Dependency', - 'complexity': "easy", 'description': """ A generic email subsystem with message storage and queuing ========================================================== diff --git a/addons/mail/mail_message.py b/addons/mail/mail_message.py index 9d33554c3f2..b560c687164 100644 --- a/addons/mail/mail_message.py +++ b/addons/mail/mail_message.py @@ -217,7 +217,7 @@ class mail_message(osv.osv): ('received', 'Received'), ('exception', 'Delivery Failed'), ('cancel', 'Cancelled'), - ], 'State', readonly=True), + ], 'Status', readonly=True), 'auto_delete': fields.boolean('Auto Delete', help="Permanently delete this email after sending it, to save space"), 'original': fields.binary('Original', help="Original version of the message, as it was sent on the network", readonly=1), } diff --git a/addons/mail/mail_message_view.xml b/addons/mail/mail_message_view.xml index 92a6d42b966..11a53c18780 100644 --- a/addons/mail/mail_message_view.xml +++ b/addons/mail/mail_message_view.xml @@ -187,7 +187,7 @@ - + diff --git a/addons/mail/mail_thread_view.xml b/addons/mail/mail_thread_view.xml index 80f7e639fa2..6bac1a49f2e 100644 --- a/addons/mail/mail_thread_view.xml +++ b/addons/mail/mail_thread_view.xml @@ -6,9 +6,6 @@ - - - diff --git a/addons/marketing/__openerp__.py b/addons/marketing/__openerp__.py index 8088a0a1a1b..81751891e66 100644 --- a/addons/marketing/__openerp__.py +++ b/addons/marketing/__openerp__.py @@ -26,7 +26,6 @@ "depends" : ["base", "base_setup"], "author" : "OpenERP SA", "category": 'Hidden/Dependency', - 'complexity': "expert", "description": """ Menu for Marketing. =================== diff --git a/addons/marketing_campaign/__openerp__.py b/addons/marketing_campaign/__openerp__.py index 9064f28fe41..3544145411c 100644 --- a/addons/marketing_campaign/__openerp__.py +++ b/addons/marketing_campaign/__openerp__.py @@ -30,7 +30,6 @@ ], "author" : "OpenERP SA", "category": 'Marketing', - 'complexity': "expert", "description": """ This module provides leads automation through marketing campaigns (campaigns can in fact be defined on any resource, not just CRM Leads). ========================================================================================================================================= diff --git a/addons/marketing_campaign/marketing_campaign.py b/addons/marketing_campaign/marketing_campaign.py index c99ad22e714..1e87925bdf3 100644 --- a/addons/marketing_campaign/marketing_campaign.py +++ b/addons/marketing_campaign/marketing_campaign.py @@ -117,7 +117,7 @@ Normal - the campaign runs normally and automatically sends all emails and repor ('running', 'Running'), ('cancelled', 'Cancelled'), ('done', 'Done')], - 'State',), + 'Status',), 'activity_ids': fields.one2many('marketing.campaign.activity', 'campaign_id', 'Activities'), 'fixed_cost': fields.float('Fixed Cost', help="Fixed cost for running this campaign. You may also specify variable cost and revenue on each campaign activity. Cost and Revenue statistics are included in Campaign Reporting.", digits_compute=dp.get_precision('Purchase Price')), @@ -272,7 +272,7 @@ class marketing_campaign_segment(osv.osv): ('cancelled', 'Cancelled'), ('running', 'Running'), ('done', 'Done')], - 'State',), + 'Status',), 'date_run': fields.datetime('Launch Date', help="Initial start date of this segment."), 'date_done': fields.datetime('End Date', help="Date this segment was last closed or cancelled."), 'date_next_sync': fields.function(_get_next_sync, string='Next Synchronization', type='datetime', help="Next time the synchronization job is scheduled to run automatically"), @@ -652,8 +652,7 @@ class marketing_campaign_workitem(osv.osv): ('cancelled', 'Cancelled'), ('exception', 'Exception'), ('done', 'Done'), - ], 'State', readonly=True), - + ], 'Status', readonly=True), 'error_msg' : fields.text('Error Message', readonly=True) } _defaults = { diff --git a/addons/marketing_campaign/marketing_campaign_view.xml b/addons/marketing_campaign/marketing_campaign_view.xml index fbc36701cd0..4f401b386ef 100644 --- a/addons/marketing_campaign/marketing_campaign_view.xml +++ b/addons/marketing_campaign/marketing_campaign_view.xml @@ -107,7 +107,7 @@ - + @@ -216,7 +216,7 @@ - + @@ -433,7 +433,7 @@ - + diff --git a/addons/marketing_campaign/report/campaign_analysis.py b/addons/marketing_campaign/report/campaign_analysis.py index a193476783d..0330cd1f7d3 100644 --- a/addons/marketing_campaign/report/campaign_analysis.py +++ b/addons/marketing_campaign/report/campaign_analysis.py @@ -68,7 +68,7 @@ class campaign_analysis(osv.osv): 'count' : fields.integer('# of Actions', readonly=True), 'state': fields.selection([('todo', 'To Do'), ('exception', 'Exception'), ('done', 'Done'), - ('cancelled', 'Cancelled')], 'State', readonly=True), + ('cancelled', 'Cancelled')], 'Status', readonly=True), } def init(self, cr): tools.drop_view_if_exists(cr, 'campaign_analysis') diff --git a/addons/marketing_campaign/report/campaign_analysis_view.xml b/addons/marketing_campaign/report/campaign_analysis_view.xml index ea1ddc9a397..19d1c78f896 100644 --- a/addons/marketing_campaign/report/campaign_analysis_view.xml +++ b/addons/marketing_campaign/report/campaign_analysis_view.xml @@ -69,7 +69,7 @@ - + diff --git a/addons/membership/membership_view.xml b/addons/membership/membership_view.xml index b65386ca9c9..58672e9a6cc 100644 --- a/addons/membership/membership_view.xml +++ b/addons/membership/membership_view.xml @@ -173,7 +173,7 @@ - + @@ -193,18 +193,24 @@ - + tree - + form + + + kanban + + + diff --git a/addons/membership/report/report_membership.py b/addons/membership/report/report_membership.py index 631acab46b1..9090c752686 100644 --- a/addons/membership/report/report_membership.py +++ b/addons/membership/report/report_membership.py @@ -59,7 +59,7 @@ class report_membership(osv.osv): 'associate_member_id': fields.many2one('res.partner', 'Associate Member', readonly=True), 'membership_id': fields.many2one('product.product', 'Membership Product', readonly=True), 'membership_state': fields.selection(STATE, 'Current Membership State', readonly=True), - 'user_id': fields.many2one('res.users', 'Salesman', readonly=True), + 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True) } diff --git a/addons/membership/report/report_membership_view.xml b/addons/membership/report/report_membership_view.xml index b0ac01ac89f..6b3f6a9eb71 100644 --- a/addons/membership/report/report_membership_view.xml +++ b/addons/membership/report/report_membership_view.xml @@ -56,7 +56,7 @@ - diff --git a/addons/mrp/board_manufacturing_view.xml b/addons/mrp/board_manufacturing_view.xml index 514b018032a..c3cc21ce893 100644 --- a/addons/mrp/board_manufacturing_view.xml +++ b/addons/mrp/board_manufacturing_view.xml @@ -35,9 +35,5 @@ id="menu_board_manufacturing" parent="menus_dash_mrp" sequence="1"/> - - - diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 8ee34f8789f..3214cad5a5c 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -481,7 +481,7 @@ class mrp_production(osv.osv): 'move_created_ids2': fields.one2many('stock.move', 'production_id', 'Produced Products', domain=[('state','in', ('done', 'cancel'))]), 'product_lines': fields.one2many('mrp.production.product.line', 'production_id', 'Scheduled goods'), 'workcenter_lines': fields.one2many('mrp.production.workcenter.line', 'production_id', 'Work Centers Utilisation'), - 'state': fields.selection([('draft','New'),('cancel','Cancelled'),('picking_except', 'Picking Exception'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','Production Started'),('done','Done')],'State', readonly=True, + 'state': fields.selection([('draft','New'),('cancel','Cancelled'),('picking_except', 'Picking Exception'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','Production Started'),('done','Done')],'Status', readonly=True, help='When the production order is created the state is set to \'Draft\'.\n If the order is confirmed the state is set to \'Waiting Goods\'.\n If any exceptions are there, the state is set to \'Picking Exception\'.\ \nIf the stock is available then the state is set to \'Ready to Produce\'.\n When the production gets started then the state is set to \'In Production\'.\n When the production is over, the state is set to \'Done\'.'), 'hour_total': fields.function(_production_calc, type='float', string='Total Hours', multi='workorder', store=True), diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index ebfd5b31bdd..fb5d07c1754 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -828,7 +828,7 @@ - + diff --git a/addons/mrp_jit/__openerp__.py b/addons/mrp_jit/__openerp__.py index 4985970ded6..3cd0f2a8774 100644 --- a/addons/mrp_jit/__openerp__.py +++ b/addons/mrp_jit/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Just In Time Scheduling', 'version': '1.0', 'category': 'Manufacturing', - 'complexity': "easy", 'description': """ This module allows Just In Time computation of procurement orders. ================================================================== diff --git a/addons/mrp_operations/__openerp__.py b/addons/mrp_operations/__openerp__.py index 01391d9fb0b..1361f2ec3f3 100644 --- a/addons/mrp_operations/__openerp__.py +++ b/addons/mrp_operations/__openerp__.py @@ -24,12 +24,11 @@ 'name': 'Manufacturing Operations', 'version': '1.0', 'category': 'Manufacturing', - 'complexity': "easy", 'description': """ This module adds state, date_start,date_stop in production order operation lines (in the "Work Centers" tab). ============================================================================================================= -State: draft, confirm, done, cancel +Status: draft, confirm, done, cancel When finishing/confirming,cancelling production orders set all state lines to the according state Create menus: diff --git a/addons/mrp_operations/mrp_operations.py b/addons/mrp_operations/mrp_operations.py index 58934c2489c..cab7a109991 100644 --- a/addons/mrp_operations/mrp_operations.py +++ b/addons/mrp_operations/mrp_operations.py @@ -86,7 +86,7 @@ class mrp_production_workcenter_line(osv.osv): _order = "sequence, date_planned" _columns = { - 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('pause','Pending'),('startworking', 'In Progress'),('done','Finished')],'State', readonly=True, + 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('pause','Pending'),('startworking', 'In Progress'),('done','Finished')],'Status', readonly=True, help="* When a work order is created it is set in 'Draft' state.\n" \ "* When user sets work order in start mode that time it will be set in 'In Progress' state.\n" \ "* When work order is in running mode, during that time if user wants to stop or to make changes in order then can set in 'Pending' state.\n" \ @@ -101,7 +101,7 @@ class mrp_production_workcenter_line(osv.osv): 'production_state':fields.related('production_id','state', type='selection', selection=[('draft','Draft'),('picking_except', 'Picking Exception'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','In Production'),('cancel','Canceled'),('done','Done')], - string='Production State', readonly=True), + string='Production Status', readonly=True), 'product':fields.related('production_id','product_id',type='many2one',relation='product.product',string='Product', readonly=True), 'qty':fields.related('production_id','product_qty',type='float',string='Qty',readonly=True, store=True), diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml index aedac905be5..53a14fe52da 100644 --- a/addons/mrp_operations/mrp_operations_view.xml +++ b/addons/mrp_operations/mrp_operations_view.xml @@ -155,7 +155,7 @@ - + diff --git a/addons/mrp_operations/report/mrp_workorder_analysis.py b/addons/mrp_operations/report/mrp_workorder_analysis.py index 6debde0daec..c2e0733d7f2 100644 --- a/addons/mrp_operations/report/mrp_workorder_analysis.py +++ b/addons/mrp_operations/report/mrp_workorder_analysis.py @@ -36,7 +36,7 @@ class mrp_workorder(osv.osv): 'date': fields.date('Date', readonly=True), 'product_id': fields.many2one('product.product', 'Product', readonly=True), 'product_qty': fields.float('Product Qty', digits_compute=dp.get_precision('Product Unit of Measure'), readonly=True), - 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Cancelled'),('done','Finished')],'State', readonly=True), + 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Cancelled'),('done','Finished')],'Status', readonly=True), 'total_hours': fields.float('Total Hours', readonly=True), 'total_cycles': fields.float('Total Cycles', readonly=True), 'delay': fields.float('Delay', readonly=True), diff --git a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml index 45b6ffd9be9..9b1b022e668 100644 --- a/addons/mrp_operations/report/mrp_workorder_analysis_view.xml +++ b/addons/mrp_operations/report/mrp_workorder_analysis_view.xml @@ -75,7 +75,7 @@ - + diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py index 9c9a6c8c521..7d78fb46490 100644 --- a/addons/mrp_repair/mrp_repair.py +++ b/addons/mrp_repair/mrp_repair.py @@ -129,7 +129,7 @@ class mrp_repair(osv.osv): ('2binvoiced','To be Invoiced'), ('invoice_except','Invoice Exception'), ('done','Done') - ], 'State', readonly=True, + ], 'Status', readonly=True, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed repair order. \ \n* The \'Confirmed\' state is used when a user confirms the repair order. \ \n* The \'Ready to Repair\' state is used to start to repairing, user can start repairing only after repair order is confirmed. \ @@ -655,7 +655,7 @@ class mrp_repair_line(osv.osv, ProductChangeMixin): ('draft','Draft'), ('confirmed','Confirmed'), ('done','Done'), - ('cancel','Canceled')], 'State', required=True, readonly=True, + ('cancel','Canceled')], 'Status', required=True, readonly=True, help=' * The \'Draft\' state is set automatically as draft when repair order in draft state. \ \n* The \'Confirmed\' state is set automatically as confirm when repair order in confirm state. \ \n* The \'Done\' state is set automatically when repair order is completed.\ diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml index c089b4d9fa2..ff262329ce2 100644 --- a/addons/mrp_repair/mrp_repair_view.xml +++ b/addons/mrp_repair/mrp_repair_view.xml @@ -204,7 +204,7 @@ - + diff --git a/addons/mrp_subproduct/mrp_subproduct.py b/addons/mrp_subproduct/mrp_subproduct.py index 9d76a254c36..bacdeb2c675 100644 --- a/addons/mrp_subproduct/mrp_subproduct.py +++ b/addons/mrp_subproduct/mrp_subproduct.py @@ -25,7 +25,7 @@ import decimal_precision as dp class mrp_subproduct(osv.osv): _name = 'mrp.subproduct' - _description = 'Sub Product' + _description = 'Byproduct' _columns={ 'product_id': fields.many2one('product.product', 'Product', required=True), 'product_qty': fields.float('Product Qty', digits_compute=dp.get_precision('Product Unit of Measure'), required=True), diff --git a/addons/multi_company/__openerp__.py b/addons/multi_company/__openerp__.py index 5281be71a43..c8e06b5cf2b 100644 --- a/addons/multi_company/__openerp__.py +++ b/addons/multi_company/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Multi-Company', 'version': '1.0', 'category': 'Tools', - 'complexity': "expert", 'description': """ This module is for managing a multicompany environment. ======================================================= diff --git a/addons/pad/__openerp__.py b/addons/pad/__openerp__.py index 0077a5ae061..267f595c7e5 100644 --- a/addons/pad/__openerp__.py +++ b/addons/pad/__openerp__.py @@ -3,7 +3,6 @@ 'name': 'Collaborative Pads', 'version': '2.0', "category": "Project Management", - 'complexity': "easy", 'description': """ Adds enhanced support for (Ether)Pad attachments in the web client. =================================================================== diff --git a/addons/pad_project/__openerp__.py b/addons/pad_project/__openerp__.py index 0d2e829d740..8ca761d2737 100644 --- a/addons/pad_project/__openerp__.py +++ b/addons/pad_project/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Specifications on PADs', 'version': '1.0', "category": "Project Management", - 'complexity': "easy", 'description': """ This module adds a PAD in all project kanban views ================================================== diff --git a/addons/plugin/__openerp__.py b/addons/plugin/__openerp__.py index 3d527918953..dba41649ff6 100644 --- a/addons/plugin/__openerp__.py +++ b/addons/plugin/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'CRM Plugins', 'version': '1.0', 'category': 'Hidden/Dependency', - 'complexity': "easy", 'description': """ The common interface for pugin. ===================================================== diff --git a/addons/point_of_sale/account_statement_view.xml b/addons/point_of_sale/account_statement_view.xml index a1a0fa44b39..e5ade747840 100644 --- a/addons/point_of_sale/account_statement_view.xml +++ b/addons/point_of_sale/account_statement_view.xml @@ -39,7 +39,7 @@ - + @@ -65,7 +65,7 @@ - + diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index 5af78b131b2..5576714b3f7 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -152,7 +152,7 @@ class pos_order(osv.osv): ('paid', 'Paid'), ('done', 'Posted'), ('invoiced', 'Invoiced')], - 'State', readonly=True), + 'Status', readonly=True), 'invoice_id': fields.many2one('account.invoice', 'Invoice'), 'account_move': fields.many2one('account.move', 'Journal Entry', readonly=True), diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml index 785c8d7d664..a83aab01ca9 100644 --- a/addons/point_of_sale/point_of_sale_view.xml +++ b/addons/point_of_sale/point_of_sale_view.xml @@ -151,9 +151,9 @@ - + - + diff --git a/addons/point_of_sale/report/pos_order_report.py b/addons/point_of_sale/report/pos_order_report.py index ceb20a11a36..27086e08b26 100644 --- a/addons/point_of_sale/report/pos_order_report.py +++ b/addons/point_of_sale/report/pos_order_report.py @@ -36,8 +36,8 @@ class pos_order_report(osv.osv): 'partner_id':fields.many2one('res.partner', 'Partner', readonly=True), 'product_id':fields.many2one('product.product', 'Product', readonly=True), 'state': fields.selection([('draft', 'New'), ('paid', 'Closed'), ('done', 'Synchronized'), ('invoiced', 'Invoiced'), ('cancel', 'Cancelled')], - 'State'), - 'user_id':fields.many2one('res.users', 'Salesman', readonly=True), + 'Status'), + 'user_id':fields.many2one('res.users', 'Salesperson', readonly=True), 'price_total':fields.float('Total Price', readonly=True), 'total_discount':fields.float('Total Discount', readonly=True), 'average_price': fields.float('Average Price', readonly=True,group_operator="avg"), diff --git a/addons/point_of_sale/report/pos_order_report_view.xml b/addons/point_of_sale/report/pos_order_report_view.xml index c5024100a13..a1631ab0203 100644 --- a/addons/point_of_sale/report/pos_order_report_view.xml +++ b/addons/point_of_sale/report/pos_order_report_view.xml @@ -70,7 +70,7 @@ - + diff --git a/addons/point_of_sale/report/pos_sales_user.rml b/addons/point_of_sale/report/pos_sales_user.rml index 6374a09da02..8684ea11662 100644 --- a/addons/point_of_sale/report/pos_sales_user.rml +++ b/addons/point_of_sale/report/pos_sales_user.rml @@ -139,7 +139,7 @@ User - State + Status Company diff --git a/addons/point_of_sale/report/pos_sales_user_today.rml b/addons/point_of_sale/report/pos_sales_user_today.rml index 5b0bc2a1dcb..d036d2d4813 100644 --- a/addons/point_of_sale/report/pos_sales_user_today.rml +++ b/addons/point_of_sale/report/pos_sales_user_today.rml @@ -139,7 +139,7 @@ User - State + Status Company diff --git a/addons/point_of_sale/report/report_cash_register.py b/addons/point_of_sale/report/report_cash_register.py index c86c40bb32f..4e99d2010b1 100644 --- a/addons/point_of_sale/report/report_cash_register.py +++ b/addons/point_of_sale/report/report_cash_register.py @@ -34,7 +34,7 @@ class report_cash_register(osv.osv): ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True), 'day': fields.char('Day', size=128, readonly=True), 'user_id':fields.many2one('res.users', 'User', readonly=True), - 'state': fields.selection([('draft', 'Quotation'),('open','Open'),('confirm', 'Confirmed')],'State'), + 'state': fields.selection([('draft', 'Quotation'),('open','Open'),('confirm', 'Confirmed')],'Status'), 'journal_id': fields.many2one('account.journal', 'Journal'), 'balance_start': fields.float('Opening Balance'), 'balance_end_real': fields.float('Closing Balance'), diff --git a/addons/point_of_sale/wizard/pos_details.py b/addons/point_of_sale/wizard/pos_details.py index ee1d753a9ad..22a1cce22d6 100644 --- a/addons/point_of_sale/wizard/pos_details.py +++ b/addons/point_of_sale/wizard/pos_details.py @@ -30,7 +30,7 @@ class pos_details(osv.osv_memory): _columns = { 'date_start': fields.date('Date Start', required=True), 'date_end': fields.date('Date End', required=True), - 'user_ids': fields.many2many('res.users', 'pos_details_report_user_rel', 'user_id', 'wizard_id', 'Salesmen'), + 'user_ids': fields.many2many('res.users', 'pos_details_report_user_rel', 'user_id', 'wizard_id', 'Salespeople'), } _defaults = { 'date_start': lambda *a: time.strftime('%Y-%m-%d'), diff --git a/addons/point_of_sale/wizard/pos_payment_report_user.py b/addons/point_of_sale/wizard/pos_payment_report_user.py index 05d06f4df29..bdb2790dc87 100644 --- a/addons/point_of_sale/wizard/pos_payment_report_user.py +++ b/addons/point_of_sale/wizard/pos_payment_report_user.py @@ -46,7 +46,7 @@ class pos_payment_report_user(osv.osv_memory): } _columns = { - 'user_id': fields.many2many('res.users', 'res_user_sale', 'user_id', 'sale_id', 'Salesman') + 'user_id': fields.many2many('res.users', 'res_user_sale', 'user_id', 'sale_id', 'Salesperson') } pos_payment_report_user() diff --git a/addons/point_of_sale/wizard/pos_sales_user.py b/addons/point_of_sale/wizard/pos_sales_user.py index e17aff8bdca..22ffa66d2ad 100644 --- a/addons/point_of_sale/wizard/pos_sales_user.py +++ b/addons/point_of_sale/wizard/pos_sales_user.py @@ -30,7 +30,7 @@ class pos_sale_user(osv.osv_memory): _columns = { 'date_start': fields.date('Date Start', required=True), 'date_end': fields.date('Date End', required=True), - 'user_id': fields.many2many('res.users', 'sale_user_rel', 'user_id', 'uid', 'Salesman'), + 'user_id': fields.many2many('res.users', 'sale_user_rel', 'user_id', 'uid', 'Salesperson'), } def print_report(self, cr, uid, ids, context=None): diff --git a/addons/point_of_sale/wizard/pos_sales_user_today.py b/addons/point_of_sale/wizard/pos_sales_user_today.py index 94d84647a7c..f48dd29b01b 100644 --- a/addons/point_of_sale/wizard/pos_sales_user_today.py +++ b/addons/point_of_sale/wizard/pos_sales_user_today.py @@ -27,7 +27,7 @@ class pos_sales_user_today(osv.osv_memory): _description = 'Sales User Today' _columns = { - 'user_id': fields.many2many('res.users', 'sale_user_rel_today', 'user_id', 'uid', 'Salesman'), + 'user_id': fields.many2many('res.users', 'sale_user_rel_today', 'user_id', 'uid', 'Salesperson'), } def print_report(self, cr, uid, ids, context=None): diff --git a/addons/process/process.py b/addons/process/process.py index 524a3236e7b..f9744608c50 100644 --- a/addons/process/process.py +++ b/addons/process/process.py @@ -293,7 +293,7 @@ class process_node(osv.osv): _columns = { 'name': fields.char('Name', size=30,required=True, translate=True), 'process_id': fields.many2one('process.process', 'Process', required=True, ondelete='cascade'), - 'kind': fields.selection([('state','State'), ('subflow','Subflow')], 'Kind of Node', required=True), + 'kind': fields.selection([('state','Status'), ('subflow','Subflow')], 'Kind of Node', required=True), 'menu_id': fields.many2one('ir.ui.menu', 'Related Menu'), 'note': fields.text('Notes', translate=True), 'model_id': fields.many2one('ir.model', 'Object', ondelete='set null'), diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index 994df8f0196..2263a441363 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -112,7 +112,7 @@ class procurement_order(osv.osv): ('running','Running'), ('ready','Ready'), ('done','Done'), - ('waiting','Waiting')], 'State', required=True, + ('waiting','Waiting')], 'Status', required=True, help='When a procurement is created the state is set to \'Draft\'.\n If the procurement is confirmed, the state is set to \'Confirmed\'.\ \nAfter confirming the state is set to \'Running\'.\n If any exception arises in the order then the state is set to \'Exception\'.\n Once the exception is removed the state becomes \'Ready\'.\n It is in \'Waiting\'. state when the procurement is waiting for another one to finish.'), 'note': fields.text('Note'), diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index 141d1509944..5343d6aaf0f 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -124,7 +124,7 @@ - + @@ -167,7 +167,7 @@ stock.warehouse.orderpoint tree - + @@ -184,7 +184,7 @@ stock.warehouse.orderpoint search - + @@ -206,7 +206,7 @@ stock.warehouse.orderpoint form -
    + @@ -239,7 +239,7 @@ - Minimum Stock Rules + Reordering Rules stock.warehouse.orderpoint ir.actions.act_window form @@ -251,7 +251,7 @@ @@ -259,7 +259,7 @@ diff --git a/addons/product/product.py b/addons/product/product.py index c7bc52eabde..4201c16402a 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -291,7 +291,7 @@ class product_template(osv.osv): 'description_purchase': fields.text('Purchase Description',translate=True), 'description_sale': fields.text('Sale Description',translate=True), 'type': fields.selection([('product','Stockable Product'),('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Will change the way procurements are processed. Consumable are product where you don't manage stock."), - 'supply_method': fields.selection([('produce','Produce'),('buy','Buy')], 'Supply Method', required=True, help="Produce will generate production order or tasks, according to the product type. Buy will trigger purchase orders when requested."), + 'supply_method': fields.selection([('produce','Manufacture'),('buy','Buy')], 'Supply Method', required=True, help="Produce will generate production order or tasks, according to the product type. Buy will trigger purchase orders when requested."), 'sale_delay': fields.float('Customer Lead Time', help="This is the average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."), 'produce_delay': fields.float('Manufacturing Lead Time', help="Average delay in days to produce this product. This is only for the production order and, if it is a multi-level bill of material, it's only for the level of this product. Different lead times will be summed for all levels and purchase orders."), 'procure_method': fields.selection([('make_to_stock','Make to Stock'),('make_to_order','Make to Order')], 'Procurement Method', required=True, help="'Make to Stock': When needed, take from the stock or wait until re-supplying. 'Make to Order': When needed, purchase or produce for the procurement request."), diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 3c353e031f2..5d06a80b024 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -263,20 +263,27 @@ - + tree - + form - + + + kanban + + + + + diff --git a/addons/product_expiry/__openerp__.py b/addons/product_expiry/__openerp__.py index 981e0c6c2b9..29e30bf380d 100644 --- a/addons/product_expiry/__openerp__.py +++ b/addons/product_expiry/__openerp__.py @@ -22,7 +22,6 @@ "version" : "1.0", "author" : "OpenERP SA", "category" : "Specific Industry Applications", - 'complexity': "easy", "depends" : ["stock"], "init_xml" : [], "demo_xml" : ["product_expiry_demo.xml"], diff --git a/addons/product_manufacturer/__openerp__.py b/addons/product_manufacturer/__openerp__.py index 56f4b4725d1..98cf8d2d8de 100644 --- a/addons/product_manufacturer/__openerp__.py +++ b/addons/product_manufacturer/__openerp__.py @@ -22,7 +22,6 @@ "version" : "1.0", "author" : "OpenERP SA", 'category': 'Purchase Management', - 'complexity': "easy", "depends" : ["stock"], "init_xml" : [], "demo_xml" : [], diff --git a/addons/product_visible_discount/__openerp__.py b/addons/product_visible_discount/__openerp__.py index c4aec85a004..d957c6d87ed 100644 --- a/addons/product_visible_discount/__openerp__.py +++ b/addons/product_visible_discount/__openerp__.py @@ -22,7 +22,6 @@ "version": "1.0", "author": "OpenERP SA", 'category': 'Sales Management', - 'complexity': "easy", "description": """ This module lets you calculate discounts on Sale Order lines and Invoice lines base on the partner's pricelist. =============================================================================================================== diff --git a/addons/profile_tools/__openerp__.py b/addons/profile_tools/__openerp__.py index 54e101df38c..4ba0298346e 100644 --- a/addons/profile_tools/__openerp__.py +++ b/addons/profile_tools/__openerp__.py @@ -26,7 +26,6 @@ "depends" : ["base", "base_setup"], "author" : "OpenERP SA", "category" : "Hidden/Dependency", - 'complexity': "easy", "description": """ Installer for extra Hidden like lunch, survey, idea, share, etc. ================================================================ diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index 68c85ffb836..924bf40c50a 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -27,7 +27,6 @@ "website": "http://www.openerp.com", "category": "Project Management", "sequence": 8, - 'complexity': "easy", "images": ["images/gantt.png", "images/project_dashboard.jpeg","images/project_task_tree.jpeg","images/project_task.jpeg","images/project.jpeg","images/task_analysis.jpeg"], "depends": ["base_setup", "product", "analytic", "board", "mail", "resource","web_kanban"], "description": """ diff --git a/addons/project/board_project_view.xml b/addons/project/board_project_view.xml index 2475e95cf80..98d58d9a95f 100644 --- a/addons/project/board_project_view.xml +++ b/addons/project/board_project_view.xml @@ -117,9 +117,5 @@ parent="menu_project_dashboard" sequence="1"/> - - diff --git a/addons/project/project.py b/addons/project/project.py index bf65abb898a..201ad8eedde 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -172,7 +172,7 @@ class project(osv.osv): 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of Projects."), 'analytic_account_id': fields.many2one('account.analytic.account', 'Analytic Account', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc.", ondelete="cascade", required=True), 'priority': fields.integer('Sequence', help="Gives the sequence order when displaying the list of projects"), - 'warn_manager': fields.boolean('Warn Manager', help="If you check this field, the project manager will receive an email each time a task is completed by his team.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), + 'warn_manager': fields.boolean('Notify Manager', help="If you check this field, the project manager will receive an email each time a task is completed by his team.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'members': fields.many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members', help="Project's members are users who can have an access to the tasks related to this project.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), @@ -1338,7 +1338,7 @@ class project_task_history(osv.osv): _columns = { 'task_id': fields.many2one('project.task', 'Task', ondelete='cascade', required=True, select=True), 'type_id': fields.many2one('project.task.type', 'Stage'), - 'state': fields.selection([('draft', 'New'), ('cancelled', 'Cancelled'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done')], 'State'), + 'state': fields.selection([('draft', 'New'), ('cancelled', 'Cancelled'),('open', 'In Progress'),('pending', 'Pending'), ('done', 'Done')], 'Status'), 'kanban_state': fields.selection([('normal', 'Normal'),('blocked', 'Blocked'),('done', 'Ready To Pull')], 'Kanban State', required=False), 'date': fields.date('Date', select=True), 'end_date': fields.function(_get_date, string='End Date', type="date", store={ diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 5eac69f3f31..b2ded9bc233 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -171,7 +171,6 @@ view_mode="kanban,tree,form,calendar,graph" view_type="form"/> - project.project.kanban project.project @@ -270,9 +269,12 @@ {}

    You have no projects.

    -

    Projects are used to organize your activities; plan tasks, track issues, invoice timesheets. You can define internal projects (R&D, Improve Sales Process), private projects (My Todos) or customer ones.

    -

    Click 'create' to start a new project.

    -
    +

    Projects are used to organize your activities; plan tasks, + track issues, invoice timesheets. You can define internal + projects (R&D, Improve Sales Process), private projects (My + Todos) or customer ones.

    +

    Click 'create' to start a new project.

    +
    @@ -595,12 +597,10 @@ - - - + - - + +
    @@ -610,7 +610,7 @@ - + @@ -630,7 +630,7 @@ {} - A task represents a work that has to be done. Each user works in his own list of tasks where he can record his task work in hours. He can work and close the task itself or delegate it to another user. If you delegate a task to another user, you get a new task in pending state, which will be reopened when you have to review the work achieved. If you install the project_timesheet module, task work can be invoiced based on the project configuration. With the project_mrp module, sales orders can create tasks automatically when they are confirmed. + Tasks allow you to organize your work into a project. Click on button "Create" to create a new task. diff --git a/addons/project/report/project_report.py b/addons/project/report/project_report.py index 1b66361854b..1012ca9d518 100644 --- a/addons/project/report/project_report.py +++ b/addons/project/report/project_report.py @@ -51,7 +51,7 @@ class report_project_task_user(osv.osv): 'priority' : fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Urgent'), ('0','Very urgent')], 'Priority', readonly=True), 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True), - 'state': fields.selection([('draft', 'Draft'), ('open', 'In Progress'), ('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')],'State', readonly=True), + 'state': fields.selection([('draft', 'Draft'), ('open', 'In Progress'), ('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')],'Status', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True, groups="base.group_multi_company"), 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), 'type_id': fields.many2one('project.task.type', 'Stage', readonly=True), @@ -131,7 +131,7 @@ class project_vs_hours(osv.osv): 'user_id': fields.many2one('res.users', 'Assigned To', readonly=True), 'planned_hours': fields.float('Planned Hours', readonly=True), 'total_hours': fields.float('Total Hours', readonly=True), - 'state': fields.selection([('draft','Draft'),('open','Open'), ('pending','Pending'),('cancelled', 'Cancelled'),('close','Close'),('template', 'Template')], 'State', required=True, readonly=True) + 'state': fields.selection([('draft','Draft'),('open','Open'), ('pending','Pending'),('cancelled', 'Cancelled'),('close','Close'),('template', 'Template')], 'Status', required=True, readonly=True) } _order = 'project desc' @@ -178,7 +178,7 @@ class task_by_days(osv.osv): _auto = False _columns = { 'day': fields.char('Day', size=128, required=True), - 'state': fields.selection([('draft', 'Draft'),('open', 'In Progress'),('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'State', readonly=True, required=True), + 'state': fields.selection([('draft', 'Draft'),('open', 'In Progress'),('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'Status', readonly=True, required=True), 'total_task': fields.float('Total tasks', readonly=True), 'project_id':fields.many2one('project.project', 'Project') } diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml index e799e83f46b..240176f7941 100644 --- a/addons/project/report/project_report_view.xml +++ b/addons/project/report/project_report_view.xml @@ -132,7 +132,7 @@ - + diff --git a/addons/project_gtd/__openerp__.py b/addons/project_gtd/__openerp__.py index fce6a3d7298..d6fa568977a 100644 --- a/addons/project_gtd/__openerp__.py +++ b/addons/project_gtd/__openerp__.py @@ -25,7 +25,6 @@ 'version': '1.0', 'category': 'Project Management', "sequence": 20, - 'complexity': "easy", 'description': """ This module implements all concepts defined by the Getting Things Done methodology. =================================================================================== diff --git a/addons/project_issue/__openerp__.py b/addons/project_issue/__openerp__.py index 6ddbfb07ea4..fc88372fe90 100644 --- a/addons/project_issue/__openerp__.py +++ b/addons/project_issue/__openerp__.py @@ -25,7 +25,6 @@ 'version': '1.0', 'category': 'Project Management', "sequence": 22, - 'complexity': "easy", 'description': """ This module provides Issues/Bugs Management in Project. ======================================================= diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 180f1a39215..dbb6706138e 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -194,8 +194,8 @@ context="{'group_by':'priority'}" /> - + diff --git a/addons/project_issue/report/project_issue_report.py b/addons/project_issue/report/project_issue_report.py index b550b5c47ce..7cc520308e8 100644 --- a/addons/project_issue/report/project_issue_report.py +++ b/addons/project_issue/report/project_issue_report.py @@ -38,7 +38,7 @@ class project_issue_report(osv.osv): _columns = { 'name': fields.char('Year', size=64, required=False, readonly=True), 'section_id':fields.many2one('crm.case.section', 'Sale Team', readonly=True), - 'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True), + 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True), 'month':fields.selection([('01', 'January'), ('02', 'February'), \ ('03', 'March'), ('04', 'April'),\ ('05', 'May'), ('06', 'June'), \ diff --git a/addons/project_issue/report/project_issue_report_view.xml b/addons/project_issue/report/project_issue_report_view.xml index e97cf0a0281..ee0a4fbd1ed 100644 --- a/addons/project_issue/report/project_issue_report_view.xml +++ b/addons/project_issue/report/project_issue_report_view.xml @@ -104,8 +104,8 @@ - + - + diff --git a/addons/project_mailgate/__openerp__.py b/addons/project_mailgate/__openerp__.py index f2ac59c9fb1..4679f5b65ca 100644 --- a/addons/project_mailgate/__openerp__.py +++ b/addons/project_mailgate/__openerp__.py @@ -26,7 +26,6 @@ "author": "OpenERP SA", "website": "http://www.openerp.com", "category": "Project Management", - 'complexity': "easy", "images": ["images/project_mailgate_task.jpeg"], "depends": ["project", "mail"], "description": """ diff --git a/addons/project_mrp/__openerp__.py b/addons/project_mrp/__openerp__.py index 2d64f2b6dd8..9992bd3b2b7 100644 --- a/addons/project_mrp/__openerp__.py +++ b/addons/project_mrp/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Create Tasks on SO', 'version': '1.0', "category": "Project Management", - 'complexity': "easy", 'description': """ Automatically creates project tasks from procurement lines ========================================================== diff --git a/addons/project_planning/__openerp__.py b/addons/project_planning/__openerp__.py index 22923b1ed68..008ac1b577c 100644 --- a/addons/project_planning/__openerp__.py +++ b/addons/project_planning/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Resources Planing', 'version': '1.0', "category": "Project Management", - 'complexity': "expert", 'description': """Keep track of your planning This module helps you to manage your plannings. =============================================== diff --git a/addons/project_retro_planning/__openerp__.py b/addons/project_retro_planning/__openerp__.py index 7bed53bd0f5..d334a421de4 100644 --- a/addons/project_retro_planning/__openerp__.py +++ b/addons/project_retro_planning/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Project Retro-planning', 'version': '0.1', 'category': 'Project Management', - 'complexity': "expert", 'description': """ Changes dates according to change in project End Date. ====================================================== diff --git a/addons/project_scrum/__openerp__.py b/addons/project_scrum/__openerp__.py index 9b1bf8a319a..5e6b360b2fa 100644 --- a/addons/project_scrum/__openerp__.py +++ b/addons/project_scrum/__openerp__.py @@ -24,7 +24,6 @@ 'name': 'Methodology: SCRUM', 'version': '1.0', 'category': 'Project Management', - 'complexity': "normal", 'description': """ This module implements all concepts defined by the scrum project management methodology for IT companies. ========================================================================================================= diff --git a/addons/project_scrum/project_scrum.py b/addons/project_scrum/project_scrum.py index 68973dcecea..22824ecc3fe 100644 --- a/addons/project_scrum/project_scrum.py +++ b/addons/project_scrum/project_scrum.py @@ -109,7 +109,7 @@ class project_scrum_sprint(osv.osv): 'progress': fields.function(_compute, group_operator="avg", type='float', multi="progress", string='Progress (0-100)', help="Computed as: Time Spent / Total Time."), 'effective_hours': fields.function(_compute, multi="effective_hours", string='Effective hours', help="Computed using the sum of the task work done."), 'expected_hours': fields.function(_compute, multi="expected_hours", string='Planned Hours', help='Estimated time to do the task.'), - 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('open','Open'),('pending','Pending'),('done','Done')], 'State', required=True), + 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('open','Open'),('pending','Pending'),('done','Done')], 'Status', required=True), } _defaults = { 'state': 'draft', @@ -229,7 +229,7 @@ class project_scrum_product_backlog(osv.osv): 'sprint_id': fields.many2one('project.scrum.sprint', 'Sprint'), 'sequence' : fields.integer('Sequence', help="Gives the sequence order when displaying a list of product backlog."), 'tasks_id': fields.one2many('project.task', 'product_backlog_id', 'Tasks Details'), - 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('open','Open'),('pending','Pending'),('done','Done')], 'State', required=True), + 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('open','Open'),('pending','Pending'),('done','Done')], 'Status', required=True), 'progress': fields.function(_compute, multi="progress", group_operator="avg", type='float', string='Progress', help="Computed as: Time Spent / Total Time."), 'effective_hours': fields.function(_compute, multi="effective_hours", string='Spent Hours', help="Computed using the sum of the time spent on every related tasks", store=True), 'expected_hours': fields.float('Planned Hours', help='Estimated total time to do the Backlog'), diff --git a/addons/project_scrum/project_scrum_view.xml b/addons/project_scrum/project_scrum_view.xml index 4b8defc9a2b..ef8a2681620 100644 --- a/addons/project_scrum/project_scrum_view.xml +++ b/addons/project_scrum/project_scrum_view.xml @@ -172,7 +172,7 @@ - + @@ -344,7 +344,7 @@ - + diff --git a/addons/purchase/__openerp__.py b/addons/purchase/__openerp__.py index c0fb0b8f74d..d84408a690d 100644 --- a/addons/purchase/__openerp__.py +++ b/addons/purchase/__openerp__.py @@ -25,7 +25,6 @@ 'version': '1.1', 'category': 'Purchase Management', "sequence": 19, - 'complexity': "easy", 'description': """ Purchase module is for generating a purchase order for purchase of goods from a supplier. ========================================================================================= diff --git a/addons/purchase/board_purchase_view.xml b/addons/purchase/board_purchase_view.xml index ad4c97aad4a..a7753fe33b4 100644 --- a/addons/purchase/board_purchase_view.xml +++ b/addons/purchase/board_purchase_view.xml @@ -116,8 +116,5 @@ parent="menu_purchase_deshboard" sequence="4"/> - - - diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index df69c0512a9..f3f66af047e 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -169,7 +169,7 @@ class purchase_order(osv.osv): 'warehouse_id': fields.many2one('stock.warehouse', 'Warehouse', states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}), 'location_id': fields.many2one('stock.location', 'Destination', required=True, domain=[('usage','<>','view')]), 'pricelist_id':fields.many2one('product.pricelist', 'Pricelist', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, help="The pricelist sets the currency used for this purchase order. It also computes the supplier price for the selected products/quantities."), - 'state': fields.selection(STATE_SELECTION, 'State', readonly=True, help="The state of the purchase order or the quotation request. A quotation is a purchase order in a 'Draft' state. Then the order has to be confirmed by the user, the state switch to 'Confirmed'. Then the supplier must confirm the order to change the state to 'Approved'. When the purchase order is paid and received, the state becomes 'Done'. If a cancel action occurs in the invoice or in the reception of goods, the state becomes in exception.", select=True), + 'state': fields.selection(STATE_SELECTION, 'Status', readonly=True, help="The state of the purchase order or the quotation request. A quotation is a purchase order in a 'Draft' state. Then the order has to be confirmed by the user, the state switch to 'Confirmed'. Then the supplier must confirm the order to change the state to 'Approved'. When the purchase order is paid and received, the state becomes 'Done'. If a cancel action occurs in the invoice or in the reception of goods, the state becomes in exception.", select=True), 'order_line': fields.one2many('purchase.order.line', 'order_id', 'Order Lines', states={'approved':[('readonly',True)],'done':[('readonly',True)]}), 'validator' : fields.many2one('res.users', 'Validated by', readonly=True), 'notes': fields.text('Notes'), @@ -179,10 +179,10 @@ class purchase_order(osv.osv): 'shipped_rate': fields.function(_shipped_rate, string='Received', type='float'), 'invoiced': fields.function(_invoiced, string='Invoiced & Paid', type='boolean', help="It indicates that an invoice has been paid"), 'invoiced_rate': fields.function(_invoiced_rate, string='Invoiced', type='float'), - 'invoice_method': fields.selection([('manual','Based on Purchase Order lines'),('order','Based on generated draft invoice'),('picking','Based on receptions')], 'Invoicing Control', required=True, + 'invoice_method': fields.selection([('manual','Based on Purchase Order lines'),('order','Based on generated draft invoice'),('picking','Bases on incoming shipments')], 'Invoicing Control', required=True, help="Based on Purchase Order lines: place individual lines in 'Invoice Control > Based on P.O. lines' from where you can selectively create an invoice.\n" \ "Based on generated invoice: create a draft invoice you can validate later.\n" \ - "Based on receptions: let you create an invoice when receptions are validated." + "Bases on incoming shipments: let you create an invoice when receptions are validated." ), 'minimum_planned_date':fields.function(_minimum_planned_date, fnct_inv=_set_minimum_planned_date, string='Expected Date', type='date', select=True, help="This is computed as the minimum scheduled date of all purchase order lines' products.", store = { @@ -729,7 +729,7 @@ class purchase_order_line(osv.osv): 'order_id': fields.many2one('purchase.order', 'Order Reference', select=True, required=True, ondelete='cascade'), 'account_analytic_id':fields.many2one('account.analytic.account', 'Analytic Account',), 'company_id': fields.related('order_id','company_id',type='many2one',relation='res.company',string='Company', store=True, readonly=True), - 'state': fields.selection([('draft', 'Draft'), ('confirmed', 'Confirmed'), ('done', 'Done'), ('cancel', 'Cancelled')], 'State', required=True, readonly=True, + 'state': fields.selection([('draft', 'Draft'), ('confirmed', 'Confirmed'), ('done', 'Done'), ('cancel', 'Cancelled')], 'Status', required=True, readonly=True, help=' * The \'Draft\' state is set automatically when purchase order in draft state. \ \n* The \'Confirmed\' state is set automatically as confirm when purchase order in confirm state. \ \n* The \'Done\' state is set automatically when purchase order is set as done. \ diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index fe6c9b1d3f3..3e6170048da 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -238,8 +238,8 @@ - - + + @@ -274,8 +274,8 @@ - - + + @@ -318,7 +318,7 @@ + sequence="0"/> Purchase Orders @@ -329,7 +329,7 @@ Use this menu to search within your purchase orders by references, supplier, products, etc. For each purchase order, you can track the products received, and control the supplier invoices. - + @@ -452,7 +452,7 @@ - + diff --git a/addons/purchase/report/purchase_report_view.xml b/addons/purchase/report/purchase_report_view.xml index 381b1bfee37..2837b5e7ab6 100644 --- a/addons/purchase/report/purchase_report_view.xml +++ b/addons/purchase/report/purchase_report_view.xml @@ -108,7 +108,7 @@ - + diff --git a/addons/purchase/stock_view.xml b/addons/purchase/stock_view.xml index d7cbb082b2b..3abf56c9ec4 100644 --- a/addons/purchase/stock_view.xml +++ b/addons/purchase/stock_view.xml @@ -27,7 +27,7 @@ @@ -84,7 +84,7 @@ - - Based on receptions + Bases on incoming shipments stock.picking ir.actions.act_window form @@ -108,7 +108,7 @@ [('type','=','in')] {"default_type": "in", "contact_display": "partner_address", "search_default_done": 1, "search_default_to_invoice": 1} - If you set the Invoicing Control on a purchase order as "Based on receptions", you can track here all the product receptions and create invoices for those receptions. + If you set the Invoicing Control on a purchase order as "Bases on incoming shipments", you can track here all the product receptions and create invoices for those receptions. - - + + @@ -177,7 +177,7 @@ diff --git a/addons/purchase_requisition/report/purchase_requisition.rml b/addons/purchase_requisition/report/purchase_requisition.rml index f33f25536af..95c5d19ba31 100644 --- a/addons/purchase_requisition/report/purchase_requisition.rml +++ b/addons/purchase_requisition/report/purchase_requisition.rml @@ -148,7 +148,7 @@ Type - Origin + Source diff --git a/addons/report_designer/__openerp__.py b/addons/report_designer/__openerp__.py index f0559d8800c..8a8c6c3b7bb 100644 --- a/addons/report_designer/__openerp__.py +++ b/addons/report_designer/__openerp__.py @@ -25,7 +25,6 @@ "version" : "1.0", "depends" : ["base", "base_setup"], "author" : "OpenERP SA", - "complexity" : "expert", "category": "Tools", "description": """ Installer for reporting Hidden. diff --git a/addons/sale/__init__.py b/addons/sale/__init__.py index 2688b61ddd9..fe19b7fa609 100644 --- a/addons/sale/__init__.py +++ b/addons/sale/__init__.py @@ -25,6 +25,7 @@ import sale import stock +import res_partner import wizard import report import company diff --git a/addons/sale/__openerp__.py b/addons/sale/__openerp__.py index c121739166a..968d8d1cecd 100644 --- a/addons/sale/__openerp__.py +++ b/addons/sale/__openerp__.py @@ -24,7 +24,6 @@ 'version': '1.0', 'category': 'Sales Management', "sequence": 14, - 'complexity': "easy", 'description': """ The base module to manage quotations and sales orders. ====================================================== @@ -80,6 +79,7 @@ Dashboard for Sales Manager that includes: 'sale_report.xml', 'sale_data.xml', 'sale_view.xml', + 'res_partner_view.xml', 'report/sale_report_view.xml', 'stock_view.xml', 'process/sale_process.xml', diff --git a/addons/sale/board_sale_view.xml b/addons/sale/board_sale_view.xml index a0101c347bf..510a7ac28f7 100644 --- a/addons/sale/board_sale_view.xml +++ b/addons/sale/board_sale_view.xml @@ -82,7 +82,9 @@ form - + + + @@ -112,7 +114,5 @@ form - - diff --git a/addons/sale/report/sale_order.rml b/addons/sale/report/sale_order.rml index 4b66102c2f0..31f823888d6 100644 --- a/addons/sale/report/sale_order.rml +++ b/addons/sale/report/sale_order.rml @@ -204,7 +204,7 @@ [[ o.state <> 'draft' and removeParentNode('para') ]] Quotation Date - Salesman + Salesperson Payment Term diff --git a/addons/sale/report/sale_report.py b/addons/sale/report/sale_report.py index d347da84adc..6beac7cfd38 100644 --- a/addons/sale/report/sale_report.py +++ b/addons/sale/report/sale_report.py @@ -44,7 +44,7 @@ class sale_report(osv.osv): 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True), 'shop_id': fields.many2one('sale.shop', 'Shop', readonly=True), 'company_id': fields.many2one('res.company', 'Company', readonly=True), - 'user_id': fields.many2one('res.users', 'Salesman', readonly=True), + 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True), 'price_total': fields.float('Total Price', readonly=True), 'delay': fields.float('Commitment Delay', digits=(16,2), readonly=True), 'categ_id': fields.many2one('product.category','Category of Product', readonly=True), diff --git a/addons/sale/report/sale_report_view.xml b/addons/sale/report/sale_report_view.xml index a751d92c62a..4b3647a5ac2 100644 --- a/addons/sale/report/sale_report_view.xml +++ b/addons/sale/report/sale_report_view.xml @@ -95,7 +95,7 @@ - + @@ -104,7 +104,7 @@ - + diff --git a/addons/sale/res_partner.py b/addons/sale/res_partner.py new file mode 100644 index 00000000000..84c1a9c96ad --- /dev/null +++ b/addons/sale/res_partner.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from osv import fields,osv +from tools.translate import _ + +class res_partner(osv.osv): + _inherit = 'res.partner' + + def _sale_order_count(self, cr, uid, ids, field_name, arg, context=None): + res = {} + for partner in self.browse(cr, uid, ids, context): + res[partner.id] = len(partner.sale_order_ids) + return res + + _columns = { + 'sale_order_count': fields.function(_sale_order_count, string='# of Sales Order', type='integer'), + 'sale_order_ids': fields.one2many('sale.order','partner_id','Sales Order') + } + diff --git a/addons/sale/res_partner_view.xml b/addons/sale/res_partner_view.xml new file mode 100644 index 00000000000..6a011749282 --- /dev/null +++ b/addons/sale/res_partner_view.xml @@ -0,0 +1,23 @@ + + + + + + res.partner.kanban.saleorder.inherit + res.partner + kanban + + + + + + + + Sales() + + + + + + + diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 198d4c659c1..a93e67585d6 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -215,7 +215,7 @@ class sale_order(osv.osv): 'date_order': fields.date('Date', required=True, readonly=True, select=True, states={'draft': [('readonly', False)]}), 'create_date': fields.datetime('Creation Date', readonly=True, select=True, help="Date on which sales order is created."), 'date_confirm': fields.date('Confirmation Date', readonly=True, select=True, help="Date on which sales order is confirmed."), - 'user_id': fields.many2one('res.users', 'Salesman', states={'draft': [('readonly', False)]}, select=True), + 'user_id': fields.many2one('res.users', 'Salesperson', states={'draft': [('readonly', False)]}, select=True), 'partner_id': fields.many2one('res.partner', 'Customer', readonly=True, states={'draft': [('readonly', False)]}, required=True, change_default=True, select=True), 'partner_invoice_id': fields.many2one('res.partner', 'Invoice Address', readonly=True, required=True, states={'draft': [('readonly', False)]}, help="Invoice address for current sales order."), 'partner_shipping_id': fields.many2one('res.partner', 'Shipping Address', readonly=True, required=True, states={'draft': [('readonly', False)]}, help="Shipping address for current sales order."), @@ -1025,14 +1025,14 @@ class sale_order_line(osv.osv): 'number_packages': fields.function(_number_packages, type='integer', string='Number Packages'), 'notes': fields.text('Notes'), 'th_weight': fields.float('Weight', readonly=True, states={'draft': [('readonly', False)]}), - 'state': fields.selection([('cancel', 'Cancelled'),('draft', 'Draft'),('confirmed', 'Confirmed'),('exception', 'Exception'),('done', 'Done')], 'State', required=True, readonly=True, + 'state': fields.selection([('cancel', 'Cancelled'),('draft', 'Draft'),('confirmed', 'Confirmed'),('exception', 'Exception'),('done', 'Done')], 'Status', required=True, readonly=True, help='* The \'Draft\' state is set when the related sales order in draft state. \ \n* The \'Confirmed\' state is set when the related sales order is confirmed. \ \n* The \'Exception\' state is set when the related sales order is set as exception. \ \n* The \'Done\' state is set when the sales order line has been picked. \ \n* The \'Cancelled\' state is set when a user cancel the sales order related.'), 'order_partner_id': fields.related('order_id', 'partner_id', type='many2one', relation='res.partner', store=True, string='Customer'), - 'salesman_id':fields.related('order_id', 'user_id', type='many2one', relation='res.users', store=True, string='Salesman'), + 'salesman_id':fields.related('order_id', 'user_id', type='many2one', relation='res.users', store=True, string='Salesperson'), 'company_id': fields.related('order_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True), } _order = 'sequence, id' diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index f19a6a58fec..7a573993c45 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -1,6 +1,8 @@ - + + + sale.shop @@ -293,9 +295,9 @@ - + - + @@ -448,8 +450,8 @@ - - + + @@ -478,7 +480,7 @@ - + diff --git a/addons/sale_crm/__openerp__.py b/addons/sale_crm/__openerp__.py index 8da96384d0a..92b4491d449 100644 --- a/addons/sale_crm/__openerp__.py +++ b/addons/sale_crm/__openerp__.py @@ -23,7 +23,6 @@ 'name': 'Opportunity to Quotation', 'version': '1.0', 'category': 'Hidden', - 'complexity': "easy", 'description': """ This module adds a shortcut on one or several opportunity cases in the CRM. =========================================================================== diff --git a/addons/sale_crm/sale_crm_view.xml b/addons/sale_crm/sale_crm_view.xml index 61ced66c4cb..3151c910e2f 100644 --- a/addons/sale_crm/sale_crm_view.xml +++ b/addons/sale_crm/sale_crm_view.xml @@ -10,7 +10,7 @@ -