diff --git a/addons/analytic_contract_hr_expense/__openerp__.py b/addons/analytic_contract_hr_expense/__openerp__.py index 9f7bac302af..69a2c54e0ae 100644 --- a/addons/analytic_contract_hr_expense/__openerp__.py +++ b/addons/analytic_contract_hr_expense/__openerp__.py @@ -12,7 +12,7 @@ This module is for modifying account analytic view to show some data related to """, 'author': 'OpenERP S.A.', 'website': 'https://www.odoo.com/', - 'depends': ['hr_expense','account_analytic_analysis'], + 'depends': ['hr_expense','sale_contract'], 'data': ['analytic_contract_hr_expense_view.xml'], 'demo': [], 'installable': True, diff --git a/addons/analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml b/addons/analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml index a5bd40e9471..07bc01e92dc 100644 --- a/addons/analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml +++ b/addons/analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml @@ -5,7 +5,7 @@ account.analytic.account.form.expense.inherit account.analytic.account - + diff --git a/addons/crm/web_planner_data.xml b/addons/crm/web_planner_data.xml index a7e723f0be7..0bd407245ae 100644 --- a/addons/crm/web_planner_data.xml +++ b/addons/crm/web_planner_data.xml @@ -554,7 +554,7 @@

Time & material (ex: consulting mission)

-
  • Create your contracts and configure your prices
  • +
  • Create your contracts and configure your prices
  • diff --git a/addons/hr/res_config.py b/addons/hr/res_config.py index ff505ee1114..0230a9285a5 100644 --- a/addons/hr/res_config.py +++ b/addons/hr/res_config.py @@ -26,8 +26,8 @@ class hr_config_settings(osv.osv_memory): help ="""This installs the module hr_evaluation."""), 'module_hr_gamification': fields.boolean('Drive engagement with challenges and badges', help ="""This installs the module hr_gamification."""), - 'module_account_analytic_analysis': fields.boolean('Allow invoicing based on timesheets (the sale application will be installed)', - help ="""This installs the module account_analytic_analysis, which will install sales management too."""), + 'module_sale_contract': fields.boolean('Allow invoicing based on timesheets (the sale application will be installed)', + help ="""This installs the module sale_contract, which will install sales management too."""), 'module_hr_payroll': fields.boolean('Manage payroll', help ="""This installs the module hr_payroll."""), 'module_website_hr_recruitment': fields.boolean('Publish jobs on your website', diff --git a/addons/project_timesheet/__openerp__.py b/addons/project_timesheet/__openerp__.py index c6e2695571b..e6b4c6961ec 100644 --- a/addons/project_timesheet/__openerp__.py +++ b/addons/project_timesheet/__openerp__.py @@ -16,7 +16,7 @@ with the effect of creating, editing and deleting either ways. 'author': 'OpenERP SA', 'website': 'https://www.odoo.com/page/project-management', 'images': ['images/invoice_task_work.jpeg', 'images/my_timesheet.jpeg', 'images/working_hour.jpeg'], - 'depends': ['resource', 'project', 'account_analytic_analysis', 'procurement'], + 'depends': ['resource', 'project', 'sale_contract', 'procurement'], 'data': [ 'security/ir.model.access.csv', 'security/project_timesheet_security.xml', diff --git a/addons/project_timesheet/project_timesheet_view.xml b/addons/project_timesheet/project_timesheet_view.xml index ef068f084d9..1ce6617152b 100644 --- a/addons/project_timesheet/project_timesheet_view.xml +++ b/addons/project_timesheet/project_timesheet_view.xml @@ -126,7 +126,7 @@ tree,form,graph {} [('type','=','normal')] - +

    Click to add a customer contract. @@ -136,6 +136,9 @@

    + + project.task.form.inherited diff --git a/addons/sale/res_config.py b/addons/sale/res_config.py index f4560f43f3c..8caa269b7fe 100644 --- a/addons/sale/res_config.py +++ b/addons/sale/res_config.py @@ -16,13 +16,13 @@ class sale_configuration(osv.TransientModel): 'timesheet': fields.boolean('Prepare invoices based on timesheets', help='For modifying account analytic view to show important data to project manager of services companies.' 'You can also view the report of account analytic summary user-wise as well as month wise.\n' - '-This installs the module account_analytic_analysis.'), - 'module_account_analytic_analysis': fields.boolean('Use contracts management', + '-This installs the module sale_contract.'), + 'module_sale_contract': fields.boolean('Use contracts management', help='Allows to define your customer contracts conditions: invoicing ' 'method (fixed price, on timesheet, advance invoice), the exact pricing ' '(650€/day for a developer), the duration (one year support contract).\n' 'You will be able to follow the progress of the contract and invoice automatically.\n' - '-It installs the account_analytic_analysis module.'), + '-It installs the sale_contract module.'), 'group_sale_pricelist':fields.boolean("Use pricelists to adapt your price per customers", implied_group='product.group_sale_pricelist', help="""Allows to manage different prices based on rules per category of customers. @@ -79,7 +79,7 @@ Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), def onchange_timesheet(self, cr, uid, ids, timesheet, context=None): return {'value': { 'timesheet': timesheet, - 'module_account_analytic_analysis': timesheet, + 'module_sale_contract': timesheet, }} class account_config_settings(osv.osv_memory): diff --git a/addons/sale/res_config_view.xml b/addons/sale/res_config_view.xml index 536459d7107..2cf95f12ec0 100644 --- a/addons/sale/res_config_view.xml +++ b/addons/sale/res_config_view.xml @@ -95,10 +95,10 @@