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.

54 lines
2.3 KiB

10 years ago
  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
  6. # Copyright (C) 2013 initOS GmbH & Co. KG (<http://www.initos.com>).
  7. # Author Thomas Rehn <thomas.rehn at initos.com>
  8. #
  9. # This program is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU Affero General Public License as
  11. # published by the Free Software Foundation, either version 3 of the
  12. # License, or (at your option) any later version.
  13. #
  14. # This program is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. # GNU Affero General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Affero General Public License
  20. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. #
  22. ##############################################################################
  23. {
  24. "name": "Add a sequence on customers' code",
  25. "version": "1.1",
  26. "author": "Tiny/initOS GmbH & Co. KG,Odoo Community Association (OCA)",
  27. "category": "Generic Modules/Base",
  28. "website": "http://www.initos.com",
  29. "depends": ["base"],
  30. "summary": "Sets customer's code from a sequence",
  31. "description": """
  32. This module adds the possibility to define a sequence for
  33. the partner code. This code is then set as default when you
  34. create a new commercial partner, using the defined sequence.
  35. The reference field is treated as a commercial field, i.e. it
  36. is managed from the commercial partner and then propagated to
  37. the partner's contacts. The field is visible on the contacts,
  38. but it can only be modified from the commercial partner.
  39. No codes are assigned for contacts such as shipping and
  40. invoice addresses.
  41. This module is a migration of the original base_partner_sequence
  42. addon to OpenERP version 7.0.
  43. """,
  44. "data": [
  45. 'partner_sequence.xml',
  46. 'partner_view.xml',
  47. ],
  48. "demo": [],
  49. "active": False,
  50. "installable": True
  51. }
  52. # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: