README.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ==============================
  5. Account Invoice Line Pricelist
  6. ==============================
  7. By installing this module, on customer/sale invoice lines the unit price will
  8. be calculated based on the Price List set for the Invoice. If no Price List is
  9. set on the invoice, then it will be calculated based on the Price List set for
  10. the Customer.
  11. By default, in the standard Odoo, the method 'product_id_change' of model
  12. 'account.invoice.line' doesn't take in consideration the pricelist assigned
  13. to a customer when calculating the unit price of customer/sale invoice.
  14. Moreover, in the standard Odoo, the model 'account.invoice' hasn't a
  15. pricelist related field.
  16. For invoices created from sale orders, product prices are already based on
  17. price lists. This is the standard behavior on Odoo. Only for the invoices
  18. created manually, the pricelist is not take in consideration.
  19. This module aims to fix this behavior.
  20. The same functionality, as described above, is provided for sale refunds.
  21. Configuration
  22. =============
  23. No special configuration is needed.
  24. Usage
  25. =====
  26. To use this module, you need to:
  27. #. Set a price list for a Customer
  28. #. Create a sale invoice for that Customer
  29. #. On invoice lines, add some products (of which price is defined in price list)
  30. #. Check whether the unit prices of the products are set accordingly to the price list
  31. Credits
  32. =======
  33. Contributors
  34. ------------
  35. * Andrea Stirpe <a.stirpe@onestein.nl>
  36. * Antonio Esposito <a.esposito@onestein.nl>