diff options
| author | Hetal Dhanak <hdh@odoo.com> | 2019-07-18 11:24:07 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-10-16 09:44:51 +0000 |
| commit | ca3e898481f4091c420a8e9ed498624a591303e9 (patch) | |
| tree | 8c73a0dd03aa02f15be4a7aa581e0fd3a6bf6f96 /odoo/addons/test_main_flows | |
| parent | d59b67a91587b4a968cbd9dd053ddfe8beaedd14 (diff) | |
[IMP] purchase, purchase_requisition: supplier.info tree view
* use an editable tree to edit the supplier info
* keep the original forms because they're used in the "vendor pricelist"
menuitem
* updated tour
* change the position of requisition_id
Task-2029380
closes odoo/odoo#35972
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'odoo/addons/test_main_flows')
| -rw-r--r-- | odoo/addons/test_main_flows/static/tests/tours/main_flow.js | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js index 334223e4901..4b49c9e7e08 100644 --- a/odoo/addons/test_main_flows/static/tests/tours/main_flow.js +++ b/odoo/addons/test_main_flows/static/tests/tours/main_flow.js @@ -140,11 +140,11 @@ tour.register('main_flow_tour', { position: 'right', run: "text 1", }, { - trigger: ".modal-footer .btn-primary:first", + trigger: 'label:contains("Vendor Taxes")', extra_trigger: ".o_field_widget[name=name] > .o_external_button", // Wait name_create - content: _t('Save & Close'), - position: 'bottom', -}, { + // click somewhere else to exit cell focus +}, +{ trigger: ".modal-footer .btn-primary", content: _t('Save'), position: 'bottom', @@ -195,12 +195,10 @@ tour.register('main_flow_tour', { position: 'right', run: "text 1", }, { - trigger: ".modal-footer .btn-primary:first", - content: _t('Save & Close'), - position: 'bottom', -}, { + trigger: 'label:contains("Vendor Taxes")', + // click somewhere else to exit cell focus +},{ trigger: ".modal-footer .btn-primary", - // Wait Save & Close and check value extra_trigger: ".o_field_widget[name=seller_ids] .o_data_row td:nth-child(2):contains('the_flow.vendor')", content: _t('Save'), position: 'bottom', |
