__openerp__.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ##############################################################################
  2. #
  3. # OpenERP, Open Source Management Solution
  4. # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
  5. #
  6. # This program is free software: you can redistribute it and/or modify
  7. # it under the terms of the GNU Affero General Public License as
  8. # published by the Free Software Foundation, either version 3 of the
  9. # License, or (at your option) any later version.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU Affero General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU Affero General Public License
  17. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. #
  19. ##############################################################################
  20. {
  21. 'name': 'Prices Visible Discounts',
  22. 'version': '1.0',
  23. 'author': 'OpenERP SA',
  24. 'category': 'Sales Management',
  25. 'website': 'https://www.odoo.com',
  26. 'description': """
  27. This module lets you calculate discounts on Sale Order lines and Invoice lines base on the partner's pricelist.
  28. ===============================================================================================================
  29. To this end, a new check box named 'Visible Discount' is added to the pricelist form.
  30. **Example:**
  31. For the product PC1 and the partner "Asustek": if listprice=450, and the price
  32. calculated using Asustek's pricelist is 225. If the check box is checked, we
  33. will have on the sale order line: Unit price=450, Discount=50,00, Net price=225.
  34. If the check box is unchecked, we will have on Sale Order and Invoice lines:
  35. Unit price=225, Discount=0,00, Net price=225.
  36. """,
  37. 'depends': ["sale","purchase"],
  38. 'demo': [],
  39. 'data': ['product_visible_discount_view.xml'],
  40. 'auto_install': False,
  41. 'installable': True,
  42. }
  43. # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: