How do i can make a node form (like list of name attendance) which only fill with name (Autocomplete Text) will display the biodata fields - module

I am a new drupal user. I have a node which contain user's biodata. How do i can make a node form (something like list of name attendance) which only fill with name (prefer : Autocomplete Text) will display the biodata fields. Please suggest what module I should study for this situation.
Thank you

Related

How do I get a field in odoo 15 from res.partner module shown in account.move?

In odoo 15 I have created a PDF report for invoices using a custom layout via an external module. The address of the customer is specified at the top left of the first page of the PDF report. The content comes from the record that was created via "Customer" (res.partner) and selected via the field "partner_id". After the selection, the street and postal code as well as city are loaded in the edit view of an invoice and thus transferred to the PDF document.
How can I extend or overwrite the address field in my custom report layout to create an own address field that comes from the customer data (model res.partner)? I have created an additional field there via a module (address_suffix) that can store an address addition. I would like to be able to include this custom field of res.partner in the address field at account.move and in the end into the PDF report.
To illustrate it:
I want this field (address_suffix in res.partner)
can be seen here (account.move):
You can check the OCA partner_address_street3 module. It is similar to yours, it adds a third street field (street3) to store additional address information.
The module extends the address format, so it should automatically show on reports
On your report xm, I think you can try using t-field and using widget contact inside the t-options tag.
Example:
<span t-field="partner_id" t-options='{"widget": "contact", "fields": ["address"]}'/>

Create letters, contract templates with rich text, save then in SQL Server table

I need to dev a web app that permits users create or write their own templates for letters, contracts, or mails.
This templates must be written with Rich Text Formatted on a user interface like stack overflow use.
The user can use some names columns of a SQL Server table or view, to insert then in the text, similar what MS Word do.
Documents must be saved in a SQL table and then that text must be use to create the final view this the data of the related field.
Example:
Columns of table clients:
clientId Name ProductName
-----------------------------
1 Cris Tablet
Letter created by user:
Hello dear *Name*
We've send you your *ProductName*
Sincerly
My Company
Final view in html:
Hello dear Cris
We've send you your Tablet
Sincerly
My Company
I've work with asp.net and SQL Server... What do you recommend to achieve this?
This can be achieved using C#, i doubt if SQL alone can do it, which language are you using in asp.net?If it is C#, I can explain.
First
On the User login page
After Each user as logged on
On the Button Onclick event
Session["user"] = username.Text;
Response.Redirect("nameofthepagetocreateletter");
Second(To create the letter template)
On the nameofthepagetocreateletter
page_load event
loginname.Text = Session["user"].ToString();
also you will have a text control named "loginname", as well as 5 text field to write the letter
First text field-this will have its default value set to "Hello dear"
Second text field-this is the loginname
Third text field-this will have its default value set to "We've send you your"
Fourth text field-this is the product name field
Label field- this can be set as "sincerely"
Fifth text field-this is company name
I hope this helps.

How to Personalize window behavior in odoo 8 livechat

How to Personalize window behavior in Odoo 8
Goals for now are:
add fields asking visitors Name, Email and Concern, As you can see at first image "A" the customer name is "Visitor"
change visitors name base on his/her Name input
change the design (background color, font, etc)
I already search on odoo documentation but no tutorials for Live Chat customization.
TIA
The appearance and the behaviour of the live_chat window is defined in the files addons/im_chat/static/src/js/im_chat.js, addons/im_chat/static/src/xml/im_chat.xml and addons/im_livechat/static/src/js/im_livechat.js
Depending on your needs your will have to modify these files. For the needs you have outlined in your question you have to:
1) add fields asking visitors Name, Email and Concern, As you can see
at first image "A" the customer name is "Visitor"
You have to modify the send_welcome_message function on the im_livechat.js in order for you to send a custom initial message and you have to change the im_chat.Conversation_message_bubble template in order to give each "text bubble" a different look (for example to insert a textbox asking for user's info)
2) change visitors name base on his/her Name input
When you collect your data, the user's name is saved in the variable defaultUsername in im_livechat.js, you will have to set it there
3) change the design (background color, font, etc)
All of this can happen from changing the template with the name = im_chat.Conversation_message_bubble from the im_chat.xml file accordingly.

How to filter REST control based on dojo grid selection?

On an Xpage I have two REST controls that populate two enhanced dojo data grids. One is populated with companies, the other I would like populated with the contacts of the selected company. I am able to select a company and display the UNID of that document in a field on the xpage. I am having difficulty filtering the contact grid based on that UNID. What is the best way to do that? Below is what I have tried
Populate the ParentID field with the selected doc UNID using (CSJS):
var grid = arguments[0].grid;
var index = arguments[0].rowIndex;
var item = grid.getItem(index).attributes;
XSP.getElementById("#{id:ParentID}").innerHTML = item.companyLink;
XSP.partialRefreshGet("#{id:contactListPanel}")
Retrieve the UNID from Parent ID and use in the keys parameter of the contact REST control using (SSJS):
getComponent("ParentID").getValue()
It looks like the contact grid is refreshing when a company doc is selected, however all the contacts for all companies appear in the contact grid no matter what company is selected.
Probably, ParentID field doesn't get submitted to server and isn't available as parameter for REST service.
Transfer company's UNID as parameter in partialRefreshGet() instead
XSP.partialRefreshGet("#{id:contactListPanel}",
{params: {'unidCompany': item.companyLink}})
Read the parameter on server side with
param.unidCompany
and use it as parameter for REST service.

How to display custom fields in rally?

I have a ruby script that is trying to pull up some custom fields from Rally, the filter works just fine ( the filter contains one of the custom fields i want to pull up) but when I try to display it, it doesn't show up in the list (the value returned for all custom fields is blank, while appropriate values are returned for FormattedID, Name, Description).
Here's the link [link]http://pastebin.ubuntu.com/6124958/
Please see this post.
Do you fetch the fields?
What version of WS API are you using? If it is v2.0 is c_ prepended to the name of the field in the code?
How is the field spelled in your code and how that spelling compares to Name and Display Name of the field in UI?
There is another reason why custom fields might not appear (other than the versioning and 'c_' issues nickm mentioned). I just found this out after a ton of head banging. The Rally SDK's ui stuff will filter out all fields that are hidden (such as _ref, or other 'hidden' custom fields) so you cannot view them in your apps in grids, charts, etc. For example, when constructing a Rally.ui.grid.Grid, a class called Rally.ui.grid.ColumnBuilder is constructed and it executes a command on the columns of the chart that look like this:
_removeHiddenColumns: function (columns) {
return _.filter(columns, function (column) {
return !column.modelField || !column.modelField.hidden;
});
},
As you can see, if you try to display any fields that are hidden (like _ref for example) in a grid, the column gets removed. So, although you may be fetching the custom fields, they will not show up unless those fields are not 'hidden'.