| 1 |
<?xml version="1.0"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<record id="product_template_form_view_inherit_l10n_gr_edi" model="ir.ui.view"> |
| 5 |
<field name="name">product.template.form.inherit.l10n.gr.edi</field> |
| 6 |
<field name="model">product.template</field> |
| 7 |
<field name="inherit_id" ref="account.product_template_form_view"/> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<xpath expr="//page[@name='invoicing']//group[@name='accounting']" position="after"> |
| 10 |
<group name="mydata" string="myDATA Classification" invisible="'GR' not in fiscal_country_codes"> |
| 11 |
<field name="l10n_gr_edi_preferred_classification_ids" nolabel="1"> |
| 12 |
<list editable="bottom" default_order="priority desc"> |
| 13 |
<field name="priority" widget="handle"/> |
| 14 |
<field name="l10n_gr_edi_available_inv_type" column_invisible="1"/> |
| 15 |
<field name="l10n_gr_edi_available_cls_category" column_invisible="1"/> |
| 16 |
<field name="l10n_gr_edi_available_cls_type" column_invisible="1"/> |
| 17 |
<field name="l10n_gr_edi_inv_type" |
| 18 |
widget="dynamic_selection" |
| 19 |
options="{'available_field': 'l10n_gr_edi_available_inv_type'}"/> |
| 20 |
<field name="l10n_gr_edi_cls_category" |
| 21 |
widget="dynamic_selection" |
| 22 |
options="{'available_field': 'l10n_gr_edi_available_cls_category'}"/> |
| 23 |
<field name="l10n_gr_edi_cls_type" |
| 24 |
widget="dynamic_selection" |
| 25 |
options="{'available_field': 'l10n_gr_edi_available_cls_type'}"/> |
| 26 |
</list> |
| 27 |
</field> |
| 28 |
</group> |
| 29 |
</xpath> |
| 30 |
</field> |
| 31 |
</record> |
| 32 |
|
| 33 |
</odoo> |