How to inherit any js file in odoo 10
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3
Replies
4364
Views
How to inherit any js file in odoo 10
Hi,
var x = require('hr_timesheet_sheet.sheet')
x.WeeklyTimesheet.include // x.WeeklyTimesheet.extend as you wish.
cheers
backend exactly for the hr_timesheet_sheet weeklytimesheet widget exactly , i want to add an new column to it
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
need more details... front end ? backend ? a name of file ?
Eg for a widget: https://www.odoo.com/documentation/10.0/reference/javascript.html#widgets