This is the customer portal of odoo
Im building my own module that generates plans for my business for every customer as an image and saves that image to a data model that has a One to One Relation to the customer
I would like to display this exact image on the customer portal, maybe in a new tab like "plan" just like the tabs on the screenshot (for example, you can click on Invoices ("Angebote") and you get an overview of all invoices. I want to do the same with my module).
I dont know how to do to it and I have already searched online but unfortunately not yet found any hint on how to do it.
Help is greatly appreciated.
Related
I am trying to add a small 'lockup' / promo to a page that loads information dynamically based on page.metafield information. Replacing images, video ID's etc. Which all works just fine.
My client is asking for a small area to display a product that relates to this dynamically changing content and I am struggling to come up with a good way to do this.
The current setup is that we have 30 pages with a set of 8 metafields each page. Each one of these pages must show a different , single product with an image, title, price, buy button and another button that links out to a partner site.
I can create snippet and load almost all of this info through metafields manually (price, title etc the client could just add to another metafield) but I would prefer to load a product to pull this info so it can be added to cart. Although I can add product data manually, I still don't actually know which product will get added to the cart, because I'm on a 'page' not a 'product'.
The products themselves are using a custom template that is different to the rest of the site so that seems like its not an option. The template for this content page is just 'page' but surely I can call the product object someway? If the client entered a product ID in the metafields, is there a way of pulling that IDs data easily?
Whatever you mean by pulling ID's, but there are a couple of ways of dealing with this. One, you have a Storefront API token, allowing you to freely and securely call Shopify with JS and get back all the data about the ID you're interested in. Or, you have an App installed in the store, in which case you can setup and callback an App Proxy, providing that ID, and getting back all the info you need. Lots of options!
I use prestashop 1.7, I am stuck in the display of a field 'hobbies' which is the phoneNumber in back office prestashop with others fiels like in this image:
enter image description here
enter image description here
i'm new in prestashop and i can't found the files to edit.
I would be grateful if you help me
This place is not available to alter without modification of order view. There's no hook available in this place. You have two choices:
you can override back-office view
you can hook into displayBackOfficeHeader, check if current controller is this one related to Orders, and if so, load your data to JS variable with Media::addJsDef and insert it with JS too
If you need further assistance, let me know.
I am running Dynamics 365 Customer Self-Service Portal (v8.3.3.153) for CRM Online, and I'm having trouble getting a chart to display the correct data based on the currently logged-in user. I set up a pie chart for cases and added that to the Support Home page which also has an entity list control to display cases based on different view selections. So for example, if I am viewing open cases in the entity list, that is filtered by my currently logged in user so I have 5 cases, but the chart shows all open cases for all contacts (300+) when using the same view for the chart as for the entity list. In my support home page I added Liquid code like this:
{% chart id:"F1F23F44-4C37-E811-811F-E0071B6AA291" viewid:"9F9AA5DC-A537-E511-947E-00155D038C01" %}
I tried the suggested view filter configuration based on the article here, but that just resulted in my seeing no data in the chart, it seems that the portal page didn't automatically switch out the contact guid.
Is there any way to configure a chart to reflect the same filtering based on contact and/or parent account as can be done with the entity lists?
I am also integrating charts on the Portal and noticed this behavior, but as I want to display this only to the Admin was not an issue.
It also happened to me to have filters not applied same way on the CRM and Portal. for example using a Lookup field value, seems more like a bug to me.
Give it a try to use the View on a Entitylist and see what kind of results you get there, otherwise I'll suggest you to raise a Ticket to Microsoft.
I am creating a custom module with additional part numbers on a separate tab in the products screen. I have built the module, but am having trouble figuring out how to display the information so it matches the layout in the attached image. I have tried tree view but have not been able to get the fields on the same line. Can this only be accomplished through css or is there a table view that I am not aware of?
I also need to make sure that all of the information in row 1 stays tethered together for additional forms, etc. My plan is to make the field names for each row end with a different number (i.e. x_mfrname1,x_mfrpn1,x_mfrname2,x_mfrpn2, etc.). Can somebody please just tell me if I am on the right track. This is the initial Odoo setup for a client of mine and I don't want them to come back to me down the line and find out I forgot something. I have been scouring the internet and reading a few books but I am not completely confident.
Here is a link to a layout of what I am talking about:
MFG Part Number Tab
Thanks!
class sub_part_details(models.Model)
_name='sub.part.detail'
primary_pn=fields.Boolean('Primary P/N')
obsolete=fields.Boolean('Obsolete')
pn=fields.Char('P/N')
desc=fields.Char('Description')
upgrade=fields.Char('Upgrade')
part_detail_id=fields.Many2one('part.details')
class part_details(models.Model)
_name='part.details'
cat=fields.Char('CAT')
sub_ass=fields.Char('Subassembly')
main_ass=fields.Char('Main Assembly')
notes=fields.Text('Notes')
sub_details_ids=fields.One2Many(''sub.part.detail','part_detail_id')
It might be helpful
I'm using PrestaShop 1.5.5.0.
I want to add a custom check box list to the product page so a customer can choose shipping carrier on the product details page. Can it be possible ? I can add a specific fields in the product details page. As I'm new it's little difficult for me to figure out how can I add other details and carry the values to the order page and that is also dynamically. Is there any module available by which I can accomplish the task ? Please suggest me.
What I want to do is this : Choosing shipping carrier in product page :
http://www.wayfair.com/LifeStyle-Solutions-Zurich-Platform-Bed-LS3-ZUR-X-CP-LF1087.html
Well It's a tough task. You need to work on the controller if you want to carry the values or create a module like shipping estimate and hook it to the product page that might work.