8000 [FW][FIX] l10n_uy_edi: "Lock Posted Entries with Hash" field on uy electronic journals. by fw-bot-adhoc · Pull Request #349 · ingadhoc/uruguay · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FW][FIX] l10n_uy_edi: "Lock Posted Entries with Hash" field on uy electronic journals. #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension 8000

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions l10n_uy_edi/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
{
'name': 'Uruguay Electronic Invoice',
'author': 'ADHOC SA',
'category': 'Localization',
'license': 'LGPL-3',
'version': "16.0.1.11.0",
'depends': [
'l10n_uy_account',
'account_debit_note',
],
'data': [
'views/account_journal_view.xml',
'views/res_config_settings_view.xml',
'views/account_move_views.xml',
'views/res_company_views.xml',
'wizards/res_partner_update_from_padron_uy_wizard_view.xml',
'views/res_partner_view.xml',
'views/product_view.xml',
'views/report_invoice.xml',
'data/cfe_template.xml',
'data/ir_sequence.xml',
'data/ir_actions_server.xml',
'data/ir_cron.xml',
'data/account_incoterms_data.xml',
'security/ir.model.access.csv',
],
'demo': [
'demo/res_company_demo.xml',
'demo/account_journal_demo.xml',
],
'installable': True,
}
16 changes: 16 additions & 0 deletions l10n_uy_ux/views/account_journal_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="view_account_journal_form" model="ir.ui.view">
<field name="model">account.journal</field>
<field name="name">account.journal.form</field>
<field name="inherit_id" ref="l10n_latam_invoice_document.view_account_journal_form"/>
<field name="arch" type="xml">
<!-- El campo restrict_mode_hash_table en True en 18 no permite que se validen facturas de cliente electrónicas en localización uruguaya. Esto ya fue reportado a Odoo. Lo mantenemos invisible en 16 para que no haya problemas al migrar a 18 si es que en 16 tenían dicho campo establecido. Se podría borrar esto cuando odoo solucione el problema en 18 -->
<field name="restrict_mode_hash_table" position="attributes">
<attribute name="attrs">{'invisible': [('country_code', '=', 'UY'), ('type', '=', 'sale'), ('l10n_uy_type', '=', 'electronic')]}</attribute>
</field>
</field>
</record>

</odoo>
0