| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="payment_provider_on_site" model="payment.provider"> |
| 5 | <field name="name">Pay on Site</field> |
| 6 | <field name="module_id" ref="base.module_website_sale_collect"/> |
| 7 | <field name="code">custom</field> |
| 8 | <field name="state">enabled</field> |
| 9 | <field name="is_published">True</field> |
| 10 | <field name="custom_mode">on_site</field> |
| 11 | <field name="payment_method_ids" |
| 12 | eval="[(6, 0, [ |
| 13 | ref('website_sale_collect.payment_method_pay_on_site'), |
| 14 | ])]" |
| 15 | /> |
| 16 | <field |
| 17 | name="image_128" |
| 18 | type="base64" |
| 19 | file="website_sale_collect/static/description/icon.png" |
| 20 | /> |
| 21 | <field name="redirect_form_view_id" ref="payment_custom.redirect_form"/> |
| 22 | <field name="pending_msg" type="html"> |
| 23 | <p> |
| 24 | <i>Your order has been confirmed.</i><br/>Please come to the store to pay for your products. |
| 25 | </p> |
| 26 | </field> |
| 27 | </record> |
| 28 | |
| 29 | </odoo> |