__openerp__.py 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
  5. # All Rights Reserved.
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. 'name': 'Price Security',
  23. 'version': '8.0.2.6.0',
  24. 'description': """
  25. Price Security
  26. ==============
  27. Creates a new permission to restrict the users that can modify the prices
  28. of the products.
  29. Asociate to each user a list of pricelist and the correspoding discounts they
  30. can apply to sale orders and invoices.
  31. Allow the posibility to mark products so that anyone can modify their price in
  32. a sale order.
  33. For users with price restriction, it restricts:
  34. * on sales orders: change payment term or pricelist
  35. * on sales order lines: change unit price and set limits on discount (limits configured on user)
  36. * on partners: change payment term or pricelist
  37. * on invoices: change unit price
  38. * on product: change price
  39. NEW: sequence field on pricelist and payment term (you can only assigne pricelests or terms of lower priority than partner default one)
  40. """,
  41. 'category': 'Sales Management',
  42. 'author': 'ADHOC SA',
  43. 'website': 'http://www.adhoc.com.ar/',
  44. 'license': 'AGPL-3',
  45. 'depends': [
  46. 'sale',
  47. ],
  48. 'data': [
  49. 'security/security.xml',
  50. 'security/ir.model.access.csv',
  51. 'views/res_users_view.xml',
  52. 'views/product_view.xml',
  53. 'views/sale_view.xml',
  54. 'views/invoice_view.xml',
  55. 'views/partner_view.xml',
  56. 'views/account_view.xml',
  57. ],
  58. 'demo_xml': [],
  59. 'test': [],
  60. 'installable': True,
  61. }
  62. # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: