[IMP] crm, marketing_campaign: usability imp. + [REF] procurement: removed unused variable
bzr revid: qdp-launchpad@tinyerp.com-20101220113820-u9a2aewa4bshw9jx
This commit is contained in:
parent
4e307d022c
commit
fdc4490860
|
@ -38,7 +38,7 @@ CRM_LEAD_PENDING_STATES = (
|
|||
class crm_lead(crm_case, osv.osv):
|
||||
""" CRM Lead Case """
|
||||
_name = "crm.lead"
|
||||
_description = "Lead"
|
||||
_description = "Lead/Opportunity"
|
||||
_order = "date_action, priority, id desc"
|
||||
_inherit = ['mailgate.thread','res.partner.address']
|
||||
def _compute_day(self, cr, uid, ids, fields, args, context=None):
|
||||
|
|
|
@ -87,7 +87,7 @@ class marketing_campaign(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Name', size=64, required=True),
|
||||
'object_id': fields.many2one('ir.model', 'Resource', required=True,
|
||||
help="Choose the model on which you want \
|
||||
help="Choose the resource on which you want \
|
||||
this campaign to be run"),
|
||||
'partner_field_id': fields.many2one('ir.model.fields', 'Partner Field',
|
||||
domain="[('model_id', '=', object_id), ('ttype', '=', 'many2one'), ('relation', '=', 'res.partner')]",
|
||||
|
|
|
@ -214,7 +214,6 @@ class procurement_order(osv.osv):
|
|||
report = []
|
||||
offset = 0
|
||||
ids = [1]
|
||||
newdate = datetime.today()
|
||||
if automatic:
|
||||
self.create_automatic_op(cr, uid, context=context)
|
||||
while ids:
|
||||
|
|
Loading…
Reference in New Issue