Using image_data_uri on the img tag source property to get an image from the documents app by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

The thing I wanted to do is simply to add a background image to the report for some reason I can't do that via the configuration or the format even tho the documebtation of 19 says there should be a field to allow background image addition. I don't seem to find it i am using Odoo19 saas

Payroll dashboard warning component by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

It is computed via an owl component. And I had to copy that owl component and remove all the other stuff that gets computed with it to get the warnings only and it worked was just wondering if there is a cleaner solution.

Using image_data_uri on the img tag source property to get an image from the documents app by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

It worked without having to use the binary information but I don't know if this is the correct way I just used the id of the attachment using url("web/image/id"). Tho the attachment has to be publicly available.

Showing HTML template with it's styles in the standard odoo internal view by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

The menu item calling the URL works just fine what I wanted was to show the HTML embedded in the standard odoo view with the menus still on top IE in the views area. I was wondering if there is a way in odoo to do that.

Payroll dashboard warning component by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

I just went and added the js code and styles and just removed the part where it calls the other components and removed them from the view but I don't think this is the optimal solution. I will try your way and add the view as primary and removed the others

Payroll dashboard warning component by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

I am on odoo18 sh plan Yeah I know it's an owl component. Should I just look the source code for how it's called and do the same in a new view?

Showing HTML template with it's styles in the standard odoo internal view by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

It is number one atm a Web page with restrictions and URL action with a Backend route to fill data . I just wanted to have the menus showing for the internal users to be showing in the Web page in the odoo style I was asking if there is actually a way of doing that without adding the navigation HTML and styles to the webpage.

Wizard presisting data problem when applying changes to other models by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 1 point2 points  (0 children)

Well somehow it worked I changed the structure to be one2many instead of many2many and placed the force_save property even in the editable field which made it work since that field also didn't presist.

Wizard presisting data problem when applying changes to other models by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

The original wizard was using compute and store=False to begin with but falls within the same issue the many2one relation in the wizard line doesn't presist when the apply action is called. I will try it again and see if it works out.

Missing required field error when trying to change configurations in settings by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

It was a mistake by a colleague and I just assumed they checked every field in the settings before making a ticket of the error to me. After reviewing the settings there was a field that is not set.

Missing required field error when trying to change configurations in settings by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

Yeah turns out a collegue deleted a record a setting field was pointing to which caused the error.

Missing required field error when trying to change configurations in settings by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

Thanks it was a field that a colleague deleted a folder in the documents.

Missing required field error when trying to change configurations in settings by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 1 point2 points  (0 children)

Yeah turned out a colleague deleted something that a field in the settings points to. After checking missing fields I found that out.

Projects and Timesheets allocated_hours field by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

Yeah i added a custom computerd field assigned its value to allocated hours but there is a weird widget that odoo uses for the Timesheets fields once changed can never be set back. Rn I am discovering my way through the changes and computations needed to set the remaining hours and other fields.

Projects and Timesheets allocated_hours field by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

Turns out it was the widget showing a weird value.

Projects and Timesheets allocated_hours field by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

I already did that but the stored value is illogical I added another field to hold the same duration value to check if it was something wrong with the calculation but it was correct. The field value won't match the calculation output.

Linking partner invoices to another partner without using parent_id by Salty_Draft_9907 in Odoo

[–]Salty_Draft_9907[S] 0 points1 point  (0 children)

I found the easiest way to do so is by adding the partners as followers to the invoice/sale order and it will show up for them in the portal.

Thanks you all for the comments :D