mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Portal
This commit is contained in:
committed by
Pedro M. Baeza
parent
f6f79aa785
commit
5f20736565
23
contract/static/src/js/contract_portal_tour.js
Normal file
23
contract/static/src/js/contract_portal_tour.js
Normal file
@@ -0,0 +1,23 @@
|
||||
odoo.define("contract.tour", function(require) {
|
||||
"use strict";
|
||||
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
tour.register(
|
||||
"contract_portal_tour",
|
||||
{
|
||||
test: true,
|
||||
url: "/my",
|
||||
},
|
||||
[
|
||||
{
|
||||
content: "Go /my/contracts url",
|
||||
trigger: 'a[href*="/my/contracts"]',
|
||||
},
|
||||
{
|
||||
content: "Go to Contract item",
|
||||
trigger: ".tr_contract_link:eq(0)",
|
||||
},
|
||||
]
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user