Search In
ir.model.fields provides information about the fields of Odoo models and allows adding custom fields without using Python code.
model_id: Many2one to ir.model to which the field belongs
name: the field's technical name (used in read or write)
field_d
I want to add a boolean field in account.tax and then in purchase.order.line i want to create a new field in which those taxes which are marked as true are calculated . Thanks for help in advance.
Hello
Today's blog post describes about Units and their relevance in PIM desktop.
Units
A unit system is used to manage all possible units required to specify a size. PIM Desktop is supplied with its own unit system, which is based on
Related is used to define value of a related field which is given by following a sequence of relational fields and reading a field on the reached model. The complete sequence of fields to traverse is specified by the attribute and records.
Example
Y
Openerp contain different types of fields and these Fields are divided into three different categories, they are simple fields, relation fields and functional fields.
So lets discuss this one by one-
1. Simple Fields- The simple types are integers, f
First create a model (if you don’t have one yet) then create some fields on this model:
class check_demo(models.Model):
_name = 'check.demo'
name = fields.Char(required=True)
nu
Automatic fileds used to set onchange function and operation is given below
id
Identifier field
_log_access
Whether log access fields (create_date, write_uid, ...) should be generated (default: True)
create_date
Date at which the rec
I am posting the steps below to add the custom field in default joomla 3.x registration form:
1.Navigate to joomla_root/components/com_users/models/forms/registration.xml and add a field there.
2.Then open up joomla_root/components/com_users/models/r
If you want to create automated action in odoo, you have to go in .xml file and decide the action menu.
1- The first step is to create a model and to create some fields on this model->
class test_demo(models.Model):
    _name = 'test.d
In this blog i am going to explain why comment field of comment form in wordpress 4.4 and above version comes on the top whereas other fields come on the bottom and how to make comment field to come on the bottom and other fields on the top.
B