~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to dm/dm_document.py

  • Committer: dsh (Open ERP)
  • Date: 2009-08-31 10:00:44 UTC
  • mto: (3796.1.10 trunk-extra-addons)
  • mto: This revision was merged to the branch mainline in revision 3798.
  • Revision ID: dsh@tinyerp.com-20090831100044-fb1upsf9yu5qb272
[FIX] dependency  errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    
179
179
dm_document_template() # }}}
180
180
 
181
 
class dm_plugins_value(osv.osv): # {{{
182
 
    _name = "dm.plugins.value"
183
 
    _columns = {
184
 
        'document_id' : fields.many2one('dm.campaign.document','Campaign Document', ondelete="cascade"),
185
 
        'plugin_id' : fields.many2one('dm.dtp.plugin', 'Plugin'),
186
 
        'value' : fields.text('Value'),
187
 
    }
188
 
    
189
 
dm_plugins_value() # }}}
190
 
 
191
181
def set_image_email(node,msg): # {{{
192
182
    if not node.getchildren():
193
183
        if  node.tag=='img' and node.get('src') :
389
379
       }
390
380
dm_campaign_document() # }}}
391
381
 
 
382
class dm_plugins_value(osv.osv): # {{{
 
383
    _name = "dm.plugins.value"
 
384
    _columns = {
 
385
        'document_id' : fields.many2one('dm.campaign.document','Campaign Document', ondelete="cascade"),
 
386
        'plugin_id' : fields.many2one('dm.dtp.plugin', 'Plugin'),
 
387
        'value' : fields.text('Value'),
 
388
    }
 
389
    
 
390
dm_plugins_value() # }}}
392
391
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: