-
Course Orientation
-
Python Fundamentals
-
Database Query (SQL & PostgreSQL)
-
FastAPI + Odoo Integration
-
Odoo Architecture & Dev Environment Setup
-
Creating Your First Custom Module
-
Models & Fields — The Odoo ORM
-
Computed Fields, Constraints & Onchange
-
ORM Methods & Recordset Operations
-
Form & List Views — XML Architecture
-
Search Views, Filters & Group By
-
View Inheritance & Module Extension
-
Business Methods, Workflows & Status Bars
-
Wizards (TransientModel)
-
Security — Groups, Access Rights & Record Rules
-
QWeb Reports — PDF & Print Layouts
-
Scheduled Actions & Automated Rules
-
External API & JSON-RPC Deep Dive
-
On-Prem & Cloud Deployment
-
Capstone — Full Custom Module Build
Control Flow: if/elif/else, loops
Control the path your program takes: branch on conditions and repeat work without repeating code.
Key topics
if/elif/else; nested conditions; ternary expressions.forloops over ranges, strings and collections;range(),enumerate(),zip().whileloops and sentinel values; avoiding infinite loops.- Loop control:
break,continue,elseon loops. - List and dictionary comprehensions; when they help and when they hurt readability.
Exercise / deliverable
Write a number-classifier script: for numbers 1–50 print "Fizz" (÷3), "Buzz" (÷5), "FizzBuzz" (both) or the number, then count and display how many of each category were printed using a loop — no hard-coded counts.
Level: Beginner | Duration: ~0.5h. Decision-making and repetition: conditionals, for/while loops, break/continue and comprehensions.
Rating
0
0
There are no comments for now.