Questions tagged [odoo-owl]

6 questions
1
vote
1 answer

How can I override createMarkerPopup function of MapRenderer class in Odoo16

I am trying to add new Send SMS button on map marker as you can check below. I am unable to add on click method, I have tried below code but its not working import { MapRenderer } from "@web_map/map_view/map_renderer"; export class SmsMapRenderer…
M Tahir Noor
  • 443
  • 2
  • 10
  • 31
1
vote
1 answer

How to use the value of standardFieldProps in an Odoo Owl component?

I am trying to use a new owl component in an existing Odoo app, following the tutorial here:. I want to display the contents of the field in the view but the field actually contains some JSON so I want to process it in the Javascript of the…
kpg
  • 7,644
  • 6
  • 34
  • 67
1
vote
1 answer

Adding an Owl component to an existing view in Odoo 16

I have an existing Odoo 16 application with a working view that contains the following inside a Form view:
kpg
  • 7,644
  • 6
  • 34
  • 67
0
votes
1 answer

Using Odoo v16 OWL Component inside existing website page

I'm using Odoo v16 and I want to use Odoo Official Frontend Docs for v16 as an example, In the tutorial, we created the Counter OWL Component. But in the example, they created a controller and initiated the whole OWL stack from the ground…
M.A. Heshmat Khah
  • 740
  • 12
  • 27
0
votes
0 answers

Odoo 15 - overwrite LegacyView in Owl framework

I try to remove action : beforeLeave: () => this.controllerRef.comp.__widget.canBeRemoved(), from useSetupAction to prevent write changes when user don't save the form with he edit. Don't know how to do this from external module. I try to overwrite…
LukaszK
  • 171
  • 10
0
votes
1 answer

Odoo 15 - overwrite .js file in Owl framework (Chatter Component)

I want to overwrite chatter.js (module: mail/static/src/components/chatter/chatter.js) in odoo 15. I want to add there user_chatter_status so, this how look my modified file : /** @odoo-module **/ import { registerMessagingComponent } from…
LukaszK
  • 171
  • 10