-
- Downloads
[FIX] website_slides: various models improvements
Purpose of this commit is to fix and improve some model related bits of code: * add an ondelete cascade on some required fields; * make a public method private because it should be accessed only through controllers; * do not add odoobot as channel member; notably for demo data it can create unnecessary of noise in members and notifications; Commit linked to task ID 1941250 and PR #31453
Showing
- addons/website_slides/controllers/main.py 1 addition, 1 deletionaddons/website_slides/controllers/main.py
- addons/website_slides/models/slide_channel.py 2 additions, 2 deletionsaddons/website_slides/models/slide_channel.py
- addons/website_slides/models/slide_slide.py 10 additions, 7 deletionsaddons/website_slides/models/slide_slide.py
Loading
Please register or sign in to comment