25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

save_submit.txt 687 B

123456789101112131415161718
  1. .. _save_submit:
  2. Save-Submit-Cancel Pattern
  3. ==========================
  4. The framwork has an built-in pattern to "freeze" a record. This is typically useful in accounting type
  5. of applications where a transaction cannot be altered once a subsequent transaction has been made and a
  6. "posting" is completed.
  7. In the framework, a record has 3 stages as defined by the property "docstatus"
  8. * 0 - Saved
  9. * 1 - Submitted (frozen)
  10. * 2 - Cancelled (or deleted)
  11. After cancelling, you can also define an "Amend" permission. If the user is allowed to "Amend" a
  12. record, a new record is created against the cancelled record with a version number attached.
  13. For example: Invoice IN003 becaomes IN003-1