27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="action_account_journal_form" model="ir.actions.act_window">
|
|
<field name="name">Payment Methods</field>
|
|
<field name="res_model">account.journal</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="context" eval="{'default_journal_user': 1, 'default_type': 'cash'}"/>
|
|
<field name="domain">[('journal_user','=', 1)]</field>
|
|
<field name="help" type="html">
|
|
<p class="oe_view_nocontent_create">
|
|
Click to add a payment method.
|
|
</p><p>
|
|
Payment methods are defined by accounting journals having the
|
|
field <i>PoS Payment Method</i> checked. In order to be useable
|
|
from the touchscreen interface, you must set the payment method
|
|
on the <i>Point of Sale</i> configuration.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
<menuitem id="menu_action_account_journal_form_open"
|
|
action="action_account_journal_form"
|
|
parent="menu_point_config_product"
|
|
sequence="20"/>
|
|
</odoo>
|