Files
goodie/frontend/account/static/tests/tours/deductible_amount_column.js
Marc 8741282322 Eliminate Python dependency: embed frontend assets in odoo-go
- Copy all OWL frontend assets (JS/CSS/XML/fonts/images) into frontend/
  directory (2925 files, 43MB) — no more runtime reads from Python Odoo
- Replace OdooAddonsPath config with FrontendDir pointing to local frontend/
- Rewire bundle.go, static.go, templates.go, webclient.go to read from
  frontend/ instead of external Python Odoo addons directory
- Auto-detect frontend/ and build/ dirs relative to binary in main.go
- Delete obsolete Python helper scripts (tools/*.py)

The Go server is now fully self-contained: single binary + frontend/ folder.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:09:12 +02:00

29 lines
832 B
JavaScript

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(),
]})