wrap large size column values in tree view in odoo 14 - treeview

Like in sale order quotation when select product and name of product name is too long, should make the tree view adjusts from the contents of the table.
Tree view is on a form.
As of now product column open max according to the content and other columns shrink.

Related

SSRS merge rows vertical in a single column

I'm looking to merge vertical rows for only a single column of my report, so that when that column has lots of data, it doesn't force the left rows to expand.
The answer appears to be using a matrix (e.g. SSRS tablix Merging cells vertically problem), but I'm not clear how it would work in this case.
For example, in the screen-shot below, I'd like to spread the confirmation footer text through the following 4 rows, so that the first row (Sales Contact, Angela Thomson, Confirmation Footer, The credit card used...) is the same width as the others and that the Sales Contact info on the left is not pushed down (i.e. the Title row should be just below Sales Contact, and not have all that space in between.
Any thoughts on this?
You could use a series of nested tablixes. Create each tablix in your report then drag and drop into the main tablix until you get the effect you're after. (nested data regions reference).
Here's the design of 3 nested tablixes
Here's the preview of the report

Need to show "GRAND TOTAL" as a row header in OBIEE

I have a UNION report which contains 2 criteria. First Criteria contains all the individual values i.e. Student ID, Maths Mark, Science Marks. The 2nd criteria contains the TOTAL of Maths and Science Marks of all the students. In the 2nd criteria I need to show GRAND TOTAL as a ROW HEADER. How can be achieved?
You will need to create a pivot table:
Create a pivot table view, then Edit the pivot table view and move the attributes to the desired sections (Rows, Columns, and Measures). Drag and drop them until it looks like what you need.
In the pivot table view editor pane, next to the TOTAL column, change the Default Aggregation to Sum.
Next to the Student ID column (I presume it should be under the Rows section of the pivot table), click on the Sigma icon (Σ) icon.
Change the aggregation to display "Before" (I assume by Row header, you mean that you need the GRAND TOTAL to display to the left of the Student's marks.
Please let me know if this helps.

Visual Studio 2013 Report RDLC with related datasets

I currently have two tables in a database "customer" and "pricelist" where a customer can have multiple pricelist items linked to their ID.
I'm trying to build a report in VS2013 where it lists all customers [alphabetically], then all of their pricelist items [alphabetically], then page break between each customer.
I've tried setting it up to use a dataset of each table, which doesn't let me group them together, and I've also tried joining the two tables into one view which was the closest I had gotten. The problem was that for each item, it printed the customer name and a page break, because of the inner join i was doing where each record has the customer name on it.
Please help me figure this out! I just want to be able to display the data as such;
CUSTOMER NAME
.........ITEM 1.....PRICE
.........ITEM 2.....PRICE
.........ETC
PAGE BREAK
CUSTOMER NAME
.........ITEM 1.....PRICE
.........ETC.
To group data in a report:
Click the Design tab.
If you do not see the Row Groups pane , right-click the design surface and click view and then click Grouping.
From the Report Data pane, drag the Date field to the Row Groups pane. Place it above the row called (Details). Note that the row handle now has a bracket in it, to show a group. The table now also has two Date columns -- one on either side of a vertical dotted line.
From the Report Data pane, drag the Order field to the Row Groups pane. Place it below Date and above (Details).
Note that the row handle now has two brackets in it, to show two groups. The table now has two Order columns, too.
Delete the original Date and Order columns to the right of the double line. This removes this individual record values so that only the group value is displayed. Select the column handles for the two columns, right-click and click Delete Columns.
Switch to the Preview tab to preview the report. It should look similar to the following illustration:
The answer was retrieved from this MSDN page

show images equal view opportunity

I am looking for a solution for a shopping cart (php and mysql) where on front home page 20 product images are loaded randomly. I would like to know is there a better way to manage and give equal opportunity to load product images not loaded before so each product/content gets equal chance to appear instead of random as random might pick previously view again.
I was thinking to add views table in the database so each product views are stored so when product are picked randomly check the views if any product has greater view drop that and select more randomly .
I guess you can make a distinct select from your Products table so that there will be no duplicate images:
SELECT DISTINCT ProductId, ProductImage FROM ProductsTables

How to display the products in a table format on the category page?

I have page of two columns with left bar. On the left side I have listed the categories and when I click on a category, the products display in the right column.
But there I have two options for displaying the products on the category page, one is "Grid" and the other is "list". And I want to display the products on the category page in a table form which will be my own custom table. So that it have one header row and then each row contains one product.
How will I do this?
There is such file as
(your template)/(your theme)/catalog/product/list.phtml
There you can edit your catalog template.

Resources