| 1 |
from Products.Archetypes.public import * |
from Products.Archetypes.public import * |
| 2 |
from Products.Archetypes.TemplateMixin import TemplateMixin |
from Products.Archetypes.TemplateMixin import TemplateMixin |
|
from Products.Archetypes.SQLStorage import PostgreSQLStorage |
|
| 3 |
|
|
| 4 |
from Products.PACDefault.config import * |
from Products.PACDefault.config import * |
| 5 |
|
|
| 6 |
from ActionBase import * |
schema = BaseSchema + Schema(( |
| 7 |
|
|
| 8 |
schema = action_schema + Schema(( |
TextField('summary', |
| 9 |
|
widget=RichWidget(label='Summary'), |
| 10 |
|
), |
| 11 |
|
|
| 12 |
TextField("fax_number"), |
)) + TemplateMixin.schema |
| 13 |
|
|
| 14 |
)) |
class ActionFax(TemplateMixin, BaseContent): |
| 15 |
|
"""Fax Action""" |
| 16 |
class ActionFax(ActionBase): |
schema = schema |
|
"""Action for sending faxes""" |
|
|
schema = action_schema |
|
| 17 |
archetype_name = "Action (Fax)" |
archetype_name = "Action (Fax)" |
| 18 |
actions = TemplateMixin.actions |
actions = TemplateMixin.actions |
| 19 |
|
|