You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.4 KiB

6 years ago
  1. # Copyright (C) 2018 - TODAY, Open Source Integrators
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. class ResConfigSettings(models.TransientModel):
  5. _inherit = 'res.config.settings'
  6. module_agreement_maintenance = fields.Boolean(
  7. string='Manage maintenance agreements and contracts.')
  8. module_agreement_mrp = fields.Boolean(
  9. string='Link your manufacturing orders to an agreement.')
  10. module_agreement_project = fields.Boolean(
  11. string='Link your projects and tasks to an agreement.')
  12. module_agreement_repair = fields.Boolean(
  13. string='Link your repair orders to an agreement.')
  14. module_agreement_rma = fields.Boolean(
  15. string='Link your RMAs to an agreement.')
  16. module_agreement_sale = fields.Boolean(
  17. string='Create an agreement when the sale order is confirmed.')
  18. module_agreement_sale_subscription = fields.Boolean(
  19. string='Link your subscriptions to an agreement.')
  20. module_agreement_stock = fields.Boolean(
  21. string='Link your pickings to an agreement.')
  22. module_fieldservice_agreement = fields.Boolean(
  23. string='Link your Field Service orders to an agreement.')
  24. module_fieldservice_equipment_agreement = fields.Boolean(
  25. string='Link your Field Service equipments to an agreement.')
  26. module_helpdesk_agreement = fields.Boolean(
  27. string='Link your Helpdesk tickets to an agreement.')