mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-25 02:42:04 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -0,0 +1,28 @@
|
|||
import { registry } from '@web/core/registry';
|
||||
import { stepUtils } from "@web_tour/tour_utils";
|
||||
|
||||
registry.category("web_tour.tours").add("deductible_amount_column", {
|
||||
url: "/odoo/vendor-bills/new",
|
||||
steps: () => [
|
||||
{
|
||||
content: "Add item",
|
||||
trigger: "div[name='invoice_line_ids'] .o_field_x2many_list_row_add a:contains('Add a line')",
|
||||
run: "click",
|
||||
},
|
||||
{
|
||||
content: "Edit name",
|
||||
trigger: ".o_field_widget[name='name'] .o_input",
|
||||
run: "edit Laptop"
|
||||
},
|
||||
{
|
||||
content: "Edit deductible amount",
|
||||
trigger: ".o_field_widget[name='deductible_amount'] > .o_input",
|
||||
run: "edit 80"
|
||||
},
|
||||
{
|
||||
content: "Set Bill Date",
|
||||
trigger: "input[data-field=invoice_date]",
|
||||
run: "edit 2025-12-01",
|
||||
},
|
||||
...stepUtils.saveForm(),
|
||||
]})
|
||||
Loading…
Add table
Add a link
Reference in a new issue