mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-20 07:02:00 +02:00
19.0 vanilla
This commit is contained in:
parent
a2f74aefd8
commit
4a4d12c333
844 changed files with 212348 additions and 270090 deletions
|
|
@ -0,0 +1,10 @@
|
|||
from odoo import fields, models
|
||||
|
||||
|
||||
class TaskShareWizard(models.TransientModel):
|
||||
_name = 'task.share.wizard'
|
||||
_inherit = ['portal.share']
|
||||
_description = 'Task Sharing'
|
||||
|
||||
task_id = fields.Many2one('project.task', default=lambda self: self.res_id)
|
||||
project_privacy_visibility = fields.Selection(related='task_id.project_privacy_visibility')
|
||||
Loading…
Add table
Add a link
Reference in a new issue