In OpenERP, the template is rendered to the browser through Qweb, and there are many tags in the template to customize the various requirements changes, where the definition of tags encountered during the learning process is recorded to facilitate query.
The label unification in the template starts with "T".
T-name used to indicate the name of the template
T-extend is used to indicate whether the template inherits from another template, followed by the name of the parent template, such as: t-extend= "Login"
T-jquery a jquery selector, followed by a selector definition, such as: t-jquery= ". Oe_logiin"
T-operation is usually followed by T-jquery, indicating the action that the selector executes after the element is found, with the value: Append (append), replace (replacement)
The t-if is used to indicate the condition that the element produces on the page, followed by an expression with a JavaScript, which returns TRUE or False
t-att-### is used to indicate the attribute value of an element, # # #是元素的属性名称, such as: t-att-value= "JavaScript expression"
T-foreach is used to indicate a circular call, followed by an array
T-as is used to obtain a single value in the loop, used with the T-foreach, followed by a variable name, you can use the variable value in the loop
T-esc for a text output
T-call is used to invoke another template, followed by the name of a template
T-set is used to set a variable, followed by the name of the variable, generally with the t-value use
T-value used to specify the value of a variable or element