| 1 |
<?xml version="1.0" encoding="utf-8" ?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_view_form" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.view.form</field> |
| 5 |
<field name="model">res.config.settings</field> |
| 6 |
<field name="inherit_id" ref="point_of_sale.res_config_settings_view_form" /> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<xpath expr="//setting[@id='pos_default_journals']" position="inside"> |
| 9 |
<div class="row" invisible="country_code != 'ES'"> |
| 10 |
<label string="Simplified Invoice" for="pos_l10n_es_simplified_invoice_journal_id" class="col-lg-3 o_light_label"/> |
| 11 |
<field name="pos_l10n_es_simplified_invoice_journal_id" context="{'default_company_id': company_id, 'default_type': 'sale', 'default_code': 'SINV'}"/> |
| 12 |
</div> |
| 13 |
</xpath> |
| 14 |
</field> |
| 15 |
</record> |
| 16 |
</odoo> |