Client_id showing only in Admin user of tree view but not showing in other Group user except Name field - odoo

I am new to openerp, In my customize module client_id,name other fields are showing only in Admin user of tree view but not showing in other Group user except Name field.

field
defines a column where the corresponding field should be displayed for each record. Can use the following attributes:
name:
the name of the field to display in the current model. A given name can only be used once per view
string:
the title of the field's column (by default, uses the string of the model's field)
invisible:
fetches and stores the field, but doesn't display the column in the table. Necessary for fields which shouldn't be displayed but are used by e.g. #colors
groups:
lists the groups which should be able to see the field
widget:
alternate representations for a field's display. Possible list view values are:
attrs:
dynamic attributes based on record values. Only effects the current field, so e.g. invisible will hide the field but leave the same field of other records visible, it will not hide the column itself.

Related

Enrich the information of one field with another table field

Is it possible in acces, in a table, in edit mode, normal in grid mode, in a combo box field, to make this combo box show some values, but to select them, save others?
I need this because, in Declarado, Comprobado and Documentos tables, I want a composite text to appear between a foreign key and a field in the foreign table, and that the value that is saved when selected is obviously the value of the foreign key selected.
I explain it in pictures
As you can see in the first image, I have four tables, Expedientes, Declarado, Comprobado and Documentos.
But this I just want to appear in the drop-down, I think this forces me to use a form and program it with Vb, right?
I can upload the BD if you need it
Create a form whose Record Source is the Comprobado table (whose records you are currently editing by opening the table in Grid View).
Then, insert a Combobox on the form and set the Control Source of the combobox to the Num_Expediente field, and the Row Source to a query containing both the Num_Expediente field and Nombre_OT field, e.g.:
select t.Num_Expediente, t.Nombre_OT from Expedientes t order by t.Num_Expediente
Set the Column Count property to 2 and size the columns appropriately for your data using the Column Widths property. Set the Bound Column property to column 1, so that the Num_Expediente is populated with the correct data.

When using Options from Database with no Value or Label... how do I customise what is displayed to the user

When using Options from Database with no Value or Label... how do I customise what is displayed to the user.
I don't have Value or Label in my database, so it displays the correct list of information that I want to select from... but obviously it's blank because the database doesn't contain Value or Label items.

Show a column value but submit another value in Microsoft Access

I am trying to make a simple form that 'registers' users into a meeting. I'm trying to get the form to submit the meeting 'id' into the database but I wish to display a different value for the user (so that they do not stumble through meeting id's). I've added two columns to the query (meeting id and meeting information) but I am unsure how I would get the form to submit the meeting ID but display the meeting information for the current user.
EDIT: I've tried your method Chris but it doesn't seem to work.
Edits made:
http://i.stack.imgur.com/6IUuD.png
http://i.stack.imgur.com/3PTTZ.png
You need a rowsource query with TWO values because you have two columns. For example:
SELECT meeting_id, meeting_name
FROM meetings
In this case the 'bound column' property would be '1' because in the example you first select the meeting_id.
In the 'column width' property you then type "0cm;4cm". 0cm means that the first column (the IDs) will not be shown.
go to design view of the form and change the bound column to the number that represents the column you desire to have displayed. eg.
You can add the query at the Row Source as in the image a query builder will appear and you just create the query and save it.

Showing values in many2many field dependiing selection of another many2many field

I am creating a module(OpenERP 7.0) in which i have taken 2 fields both are many2many. First field is related with res.partner.category and second field is res.partner, what i have to do is-
after selecting categories in first field second field should get updated with partners of respected categories
thanks...
write an on change method on the first field which will search the partners related to selected categories and fill them in second field.

How can I create multiple field sets in a list item in SharePoint 2010

Spawnable Field sets, bunches of them - all on a single list item. Can it be done?
In our particular instance, we're creating a look-up field and a couple of text fields that relate to the item.
The user needs to be able to generate those field sets multiple times in the same item, to look up a distinct value, and also enter information about that look-up in the other text fields.