From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/l10n_cl/views/account_move_view.xml | 98 ++++++++++ addons/l10n_cl/views/account_tax_view.xml | 48 +++++ addons/l10n_cl/views/ir_sequence_view.xml | 26 +++ .../views/l10n_latam_document_type_view.xml | 13 ++ addons/l10n_cl/views/report_invoice.xml | 210 +++++++++++++++++++++ addons/l10n_cl/views/res_bank_view.xml | 28 +++ addons/l10n_cl/views/res_config_settings_view.xml | 20 ++ addons/l10n_cl/views/res_country_view.xml | 29 +++ addons/l10n_cl/views/res_partner.xml | 24 +++ 9 files changed, 496 insertions(+) create mode 100644 addons/l10n_cl/views/account_move_view.xml create mode 100644 addons/l10n_cl/views/account_tax_view.xml create mode 100644 addons/l10n_cl/views/ir_sequence_view.xml create mode 100644 addons/l10n_cl/views/l10n_latam_document_type_view.xml create mode 100644 addons/l10n_cl/views/report_invoice.xml create mode 100644 addons/l10n_cl/views/res_bank_view.xml create mode 100644 addons/l10n_cl/views/res_config_settings_view.xml create mode 100644 addons/l10n_cl/views/res_country_view.xml create mode 100644 addons/l10n_cl/views/res_partner.xml (limited to 'addons/l10n_cl/views') diff --git a/addons/l10n_cl/views/account_move_view.xml b/addons/l10n_cl/views/account_move_view.xml new file mode 100644 index 00000000..2d588cfe --- /dev/null +++ b/addons/l10n_cl/views/account_move_view.xml @@ -0,0 +1,98 @@ + + + + + account.move.form.inherit.l10n.cl + account.move + + +
+ + + + {'invisible': [('move_type', '=', 'out_invoice'), ('l10n_latam_internal_type', '!=', 'debit_note')], 'required': [('l10n_latam_internal_type', '=', 'debit_note')]} + +
+
+ + + account.move.latam.form.inherit.l10n.cl + account.move + + + + { + 'invisible': [ + '|', + ('l10n_latam_use_documents', '=', False), + ('l10n_latam_manual_document_number', '=', False), + '|', '|', + ('l10n_latam_use_documents', '=', False), + ('highest_name', '!=', False), + ('state', '!=', 'draft'), + '|', '|', '|', + ('l10n_latam_use_documents', '=', False), + ('posted_before', '=', False), + ('state', '!=', 'draft'), + ('country_code', '!=', 'CL') + ], + 'readonly': [('posted_before', '=', True), ('state', '!=', 'draft')], + 'required': ['|', ('l10n_latam_manual_document_number', '=', True), ('highest_name', '=', False)]} + + + + + + + account.move.tree2 + account.move + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sale Invoices and Credit Notes + + account.move + [('move_type', 'in', ['out_invoice', 'out_refund'])] + {'default_move_type': 'out_invoice'} + current + tree,form + + + + Vendor Bills and Refunds + + account.move + [('move_type', 'in', ['in_invoice', 'in_refund'])] + {'default_move_type': 'in_invoice'} + current + tree,form + + + + + +
diff --git a/addons/l10n_cl/views/account_tax_view.xml b/addons/l10n_cl/views/account_tax_view.xml new file mode 100644 index 00000000..051c7c01 --- /dev/null +++ b/addons/l10n_cl/views/account_tax_view.xml @@ -0,0 +1,48 @@ + + + + + account.tax.form + account.tax + + + + + + + + + + account.tax.sii.code.tree + account.tax + + + + + + + + + + account.tax.template.form + account.tax.template + + + + + + + + + + account.tax.template.sii.tree + account.tax.template + + + + + + + + + \ No newline at end of file diff --git a/addons/l10n_cl/views/ir_sequence_view.xml b/addons/l10n_cl/views/ir_sequence_view.xml new file mode 100644 index 00000000..6964642f --- /dev/null +++ b/addons/l10n_cl/views/ir_sequence_view.xml @@ -0,0 +1,26 @@ + + + + + ir.sequence.form + ir.sequence + + + + + + + + + + ir.sequence.search + ir.sequence + + + + + + + + + diff --git a/addons/l10n_cl/views/l10n_latam_document_type_view.xml b/addons/l10n_cl/views/l10n_latam_document_type_view.xml new file mode 100644 index 00000000..3d518e1d --- /dev/null +++ b/addons/l10n_cl/views/l10n_latam_document_type_view.xml @@ -0,0 +1,13 @@ + + + + l10n.cl.latam.document.type.view + l10n_latam.document.type + + + + handle + + + + diff --git a/addons/l10n_cl/views/report_invoice.xml b/addons/l10n_cl/views/report_invoice.xml new file mode 100644 index 00000000..c2692ff3 --- /dev/null +++ b/addons/l10n_cl/views/report_invoice.xml @@ -0,0 +1,210 @@ + + + + + + + + + + + + + + + + + + + diff --git a/addons/l10n_cl/views/res_bank_view.xml b/addons/l10n_cl/views/res_bank_view.xml new file mode 100644 index 00000000..653180a0 --- /dev/null +++ b/addons/l10n_cl/views/res_bank_view.xml @@ -0,0 +1,28 @@ + + + + + + res.bank.form + res.bank + + + + + + + + + + bank.bank.tree + res.bank + + + + + + + + + + \ No newline at end of file diff --git a/addons/l10n_cl/views/res_config_settings_view.xml b/addons/l10n_cl/views/res_config_settings_view.xml new file mode 100644 index 00000000..ad7d6d10 --- /dev/null +++ b/addons/l10n_cl/views/res_config_settings_view.xml @@ -0,0 +1,20 @@ + + + + + res.config.settings.view.form.chilean.loc + res.config.settings + + + +
+

Chilean Localization

+
+
+ +
+
+
+
+ +
diff --git a/addons/l10n_cl/views/res_country_view.xml b/addons/l10n_cl/views/res_country_view.xml new file mode 100644 index 00000000..4879b79c --- /dev/null +++ b/addons/l10n_cl/views/res_country_view.xml @@ -0,0 +1,29 @@ + + + + + res.country.form + res.country + + + + + + + + + + + + res.country.tree + res.country + + + + + + + + + + \ No newline at end of file diff --git a/addons/l10n_cl/views/res_partner.xml b/addons/l10n_cl/views/res_partner.xml new file mode 100644 index 00000000..18fb48af --- /dev/null +++ b/addons/l10n_cl/views/res_partner.xml @@ -0,0 +1,24 @@ + + + + + res.partner.placeholders.l10n_cl.form + + res.partner + + + Datos adic. dirección y Ciudad + + + {'placeholder': 'Comuna'} + + + Región + + + + + + + + -- cgit v1.2.3