Pratik Vyas | c1e6e4c | 2011-06-08 14:37:15 +0530 | [diff] [blame] | 1 | # observers.py |
| 2 | |
| 3 | observers = { |
| 4 | # Project |
| 5 | 'Ticket': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 6 | |
| 7 | # Sales |
| 8 | 'Customer': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 9 | 'Lead': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 10 | 'Quotation': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 11 | 'Sales Order': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 12 | |
| 13 | # Purchase |
| 14 | 'Supplier': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 15 | 'Purchase Order': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 16 | |
| 17 | # Stock |
| 18 | 'Delivery Note': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 19 | |
| 20 | # Accounts |
| 21 | 'Journal Voucher': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 22 | 'Payable Voucher': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 23 | 'Receivable Voucher': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 24 | |
| 25 | # HR |
| 26 | 'Expense Voucher': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 27 | 'Salary Slip': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 28 | 'Leave Transaction': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 29 | |
| 30 | # Support |
| 31 | 'Customer Issue': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 32 | 'Support Ticket': {'on_update':'event_updates.doctype.feed_control.feed_control'}, |
| 33 | 'Maintenance Visit': {'on_update':'event_updates.doctype.feed_control.feed_control'} |
| 34 | |
| 35 | } |