Skip to content

Commit

Permalink
[IMP] Performing the division of the l10n_do_accounting_plus module
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcape14 committed Nov 22, 2023
1 parent 2d9a3bd commit 4a74867
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 148 deletions.
19 changes: 18 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions l10n_do_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
"security/ir.model.access.csv",
"security/res_groups.xml",
"data/l10n_latam.document.type.csv",
"data/ir_config_parameter_data.xml",
"wizard/account_move_reversal_views.xml",
"wizard/account_move_cancel_views.xml",
"wizard/account_debit_note_views.xml",
"views/account_fiscal_sequence.xml",
"views/res_config_settings_view.xml",
"views/account_move_views.xml",
"views/res_partner_views.xml",
Expand Down
35 changes: 0 additions & 35 deletions l10n_do_accounting/models/res_config_settings.py

This file was deleted.

53 changes: 0 additions & 53 deletions l10n_do_accounting/views/account_fiscal_sequence.xml

This file was deleted.

8 changes: 0 additions & 8 deletions l10n_do_accounting/views/account_journal_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,11 @@
<field name="inherit_id" ref="l10n_latam_invoice_document.view_account_journal_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='type']" position="after">
<field name="hidden_payment_form" attrs="{'invisible': [('type','not in',('cash','bank'))]}"/>
<field name="l10n_do_payment_form" attrs="{
'invisible': ['|', '|', ('type','not in',('cash','bank')), ('country_code', '!=', 'DO'), ('hidden_payment_form', '=', True)],
'invisible': ['|', ('type','not in',('cash','bank')), ('country_code', '!=', 'DO')],
'required': [('type','in',('cash','bank')), ('country_code', '!=', 'DO')]
}"/>
</xpath>
<xpath expr="//page[@id='outbound_payment_settings']/field[@name='outbound_payment_method_line_ids']/tree/field[@name='name']" position="after">
<field name="l10n_do_payment_form" attrs="{'column_invisible': [('parent.hidden_payment_form', '=', False)]}"/>
</xpath>
<xpath expr="//page[@id='inbound_payment_settings']/field[@name='inbound_payment_method_line_ids']/tree/field[@name='name']" position="after">
<field name="l10n_do_payment_form" attrs="{'column_invisible': [('parent.hidden_payment_form', '=', False)]}"/>
</xpath>
<xpath expr="//page[@name='bank_account']/group" position="inside">
<group name="document_types" string="Document Types"
attrs="{'invisible': ['|', ('l10n_latam_use_documents', '=', False), ('country_code', '!=', 'DO')]}">
Expand Down
1 change: 0 additions & 1 deletion l10n_do_accounting/views/res_company_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
attrs="{'invisible': [('country_code', '!=', 'DO')]}"/>
<field name="l10n_do_default_client" attrs="{'invisible': [('country_code', '!=', 'DO')]}"/>
<field name="l10n_do_dgii_start_date" attrs="{'invisible': [('country_code', '!=', 'DO')]}"/>
<field name="l10n_do_fiscal_sequence_control" attrs="{'invisible': [('country_code', '!=', 'DO')]}"/>
</field>
</field>
</record>
Expand Down
49 changes: 1 addition & 48 deletions l10n_do_accounting/views/res_config_settings_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,54 +11,7 @@
<h2>Dominican Localization</h2>
</div>
<div id="l10n_do_section" class="row mt16 o_settings_container"
groups="account.group_account_manager">
<div class="col-12 col-lg-6 o_setting_box" id="account_options">
<div class="o_setting_left_pane">
<field name="view_discount_in_account"/>
</div>
<div class="o_setting_right_pane">
<label for="view_discount_in_account"/>
<div class="text-muted">
Poder vizualizar los descuentos aplicados a la factura en el reporte
</div>
</div>
</div>
<!-- <div class="col-12 col-lg-6 o_setting_box" groups="account.group_account_manager">-->
<!-- <div class="o_setting_left_pane">-->
<!-- <field name="l10n_do_fiscal_sequence_control"/>-->
<!-- </div>-->
<!-- <div class="o_setting_right_pane">-->
<!-- <label for="l10n_do_fiscal_sequence_control"/>-->
<!-- <div class="text-muted">-->
<!-- Habilitar la opcion de control de sequencia de comprobantes.-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="view_delivered_received" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label for="view_delivered_received"/>
<div class="text-muted">
Ability to add manual signatures to the report
</div>
</div>
<br/>
<div class="o_setting_right_pane" attrs="{'invisible': [('view_delivered_received', '=', False)], 'required': [('view_delivered_received', '=', True)]}">
<span class="o_form_label">Show name in report left</span>
<div class="text-muted">
<field name="label_one_report"/>
</div>
</div>
<div class="o_setting_right_pane" attrs="{'invisible': [('view_delivered_received', '=', False)], 'required': [('view_delivered_received', '=', True)]}">
<span class="o_form_label">Show name in report right</span>
<div class="text-muted">
<field name="label_one_report_2"/>
</div>
</div>
</div>
</div>
groups="account.group_account_manager"/>
</xpath>
</field>
</record>
Expand Down

0 comments on commit 4a74867

Please sign in to comment.