Skip to content

[FIX] mail.activity : always default activity type - #21241

Closed
fmdl wants to merge 3 commits into
odoo:masterfrom
fmdl:patch-31
Closed

[FIX] mail.activity : always default activity type#21241
fmdl wants to merge 3 commits into
odoo:masterfrom
fmdl:patch-31

Conversation

@fmdl

@fmdl fmdl commented Nov 26, 2017

Copy link
Copy Markdown
Contributor

Impacted version : master, 11

Description of the issue/feature this PR addresses:
-> Got to Project/task
-> Select an task without previous activity
-> Click on schedule activity
-> the Activity Type field is empty

image

Current behavior before PR:
In some case the Activity Type field is empty (no default value)

Desired behavior after PR is merged:
Always an default value in Activity Type field

OPW: 800465

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@fmdl fmdl changed the title [FIX] mail.activity : always default activity [FIX] mail.activity : always default activity type Nov 26, 2017
@tde-banana-odoo

Copy link
Copy Markdown
Contributor

Hello,

Default behavior of mail activities does not trigger a default value for activity types. Why should it compute a default only in the case there is no recommended activity type ?

@tde-banana-odoo tde-banana-odoo added the Services Project, timesheet, helpdesk,... label Mar 21, 2018
@fmdl

fmdl commented Mar 21, 2018

Copy link
Copy Markdown
Contributor Author

@tde-banana-odoo it is to go more fast ! (you don't need to click to select an activities, save two clicks :-) ). And you can configure default activities by model :
image

@tde-banana-odoo

Copy link
Copy Markdown
Contributor

Hello,

I am ok with the first part; if there is no recommended activity type to suggest, do not erase existing one. However second part comes a bit out of the blue. Taking default activity does not add much value as it depends on your work flow. Either we move towards having default values for activity types, which is not planned, either I prefer not having sometimes default, sometimes not.

@fmdl

fmdl commented Apr 2, 2018

Copy link
Copy Markdown
Contributor Author

@tde-banana-odoo if you have one activity for one model, this activity could be select by default, no ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Services Project, timesheet, helpdesk,...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants