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.

25 lines
808 B

  1. When you pay a pos_order, and then create an invoice :
  2. * you mustn't register a payment against the invoice as the payment
  3. already exists in POS
  4. * The POS payment will be reconciled with the invoice when the session
  5. is closed
  6. * You mustn't modify the invoice because the amount could become
  7. different from the one registered in POS. Thus we have to
  8. automatically validate the created invoice
  9. Functionality
  10. -------------
  11. About the invoices created from POS after payment:
  12. * automatically validate them and don't allow modifications
  13. * Disable the Pay Button
  14. * Don't display them in the Customer Payment tool
  15. Technically
  16. -----------
  17. add a ``pos_pending_payment`` field on the ``account.invoice`` to mark the
  18. items that shouldn't be paid.
  19. .. figure:: ../static/description/account_invoice_form.png