Hello everyone, I have a question. I’m facing an issue while developing a module for the POS application. I’m working on implementing "POS Delivery Charges," but in the pos_config_view file, I’m unable to pinpoint the correct template to modify. Here’s the code I'm working with:
<odoo>
<data>
<record id="view_pos_config_form_inherit" model="ir.ui.view">
<field name="name">pos.config.form.inherit</field>
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.ProductScreen"/>
<field name="arch" type="xml">
<xpath expr="//div[@class='pads border-top']" position="inside">
<setting string="Delivery Charges" help="Enable delivery charges for the PoS.">
<field name="enable_delivery_charges"/>
</setting>
</xpath>
</field>
</record>
</data>
</odoo>
I'm struggling to resolve the issue of adding a button to activate the desired functionality in the module. Can anyone assist?