mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-27 13:52:03 +02:00
Initial commit: Odoomates Odoo packages (12 packages)
This commit is contained in:
commit
3b38c49bf0
526 changed files with 34983 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
|
||||
|
||||
class FollowupSendingResults(models.TransientModel):
|
||||
_name = 'followup.sending.results'
|
||||
_description = 'Results from the sending of the different letters and emails'
|
||||
|
||||
def do_report(self):
|
||||
return self.env.context.get('report_data')
|
||||
|
||||
def do_done(self):
|
||||
return {}
|
||||
|
||||
def _get_description(self):
|
||||
return self.env.context.get('description')
|
||||
|
||||
def _get_need_printing(self):
|
||||
return self.env.context.get('needprinting')
|
||||
|
||||
description = fields.Text("Description", readonly=True,default=_get_description)
|
||||
needprinting = fields.Boolean("Needs Printing", default=_get_need_printing)
|
||||
Loading…
Add table
Add a link
Reference in a new issue