-
غير مصنف
- [0] Introduction
- [1] Module Structure
- [2] Models & Fields
- [3] Data introduction
- [4] Introduction to Security
- [5] Actions & Menus
- [6] Basic Views
- [7] Relational Fields
- [8] Fields computation
- [9] Fields Onchange
- [10] Actions
- [11] Constraints
- [12] Inline Views
- [13] Widgets
- [14] Ordering
- [15] Advanced Views
- [16] Advanced searches
-
[17] More buttons
-
[18] Model Inheritance
-
[19] View Inheritance
-
[END]
Python constraints
التقييم
0
0
لا توجد تعليقات حالياً.
1.
How is a python constraint triggered ?
Using the API decorator "@api.constrains" and defining the trigger field there.
In the field definition, using the attribute "constraint=True"
Using the API decorator "@api.constraint" and defining the trigger field there.
Using the API decorator "@api.restricts" and defining the trigger field there.
2.
What error should be raised under a wrong condition ?
موارد إضافية
وحدهم حاضرو الدورة بوسعهم الوصول إلى المحتوى.