问题描述
我试图在PaymentScreenWidget窗口中添加一个选择,但是,每次尝试时,修改的都是XY。我应该如何放置模板以便正确注入?
这是我的模板
<?xml version="1.0" encoding="UTF-8"?>
<templates id="ListaUsoCFDI" xml:space="preserve">
<t t-name="myList" t-extend="PaymentScreenWidget">
<t t-jquery=".payment-buttons" t-operation="append">
<div class="button js_custom">
<select class="select custom_class">
<option value="xy">A lotta options </option>
</select>
</div>
</t>
</t>
</templates>
这是我在操作板上显示的结果,在付款屏幕上没有显示结果
我只想在付款屏幕上找零。
我用类似的东西更改选择器
.payment-buttons:nth-of-type(2)
.payment-buttons:nth-child(2)
body > div.o_action_manager > div.pos > div.pos-content > div.window > div > div > div > div.payment-screen.screen > div > div.right-content.pc60.touch-scrollable.scrollable-y > div
请提供任何帮助
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)