get LargeImageUrl() {
const product = this.props.product;
return `/web/image?model=product.product&field=image_1920&id=${product.id}&write_date=${product.write_date}&unique=1`;
}
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
1
Reply
930
Views
Hey, you can create a function named get_LargeImageUrl by
get_LargeImageUrl: function() {
// Write your code here
const product = this.props.product;
// return anything you like here
}
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
Extend and include in js
Solved
|
|
1
Jul 23
|
2452 | |
|
1
Nov 22
|
1186 | ||
|
0
Dec 20
|
58 | ||
|
0
Jan 22
|
1567 | ||
|
0
Apr 21
|
1119 |