-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] l10n_br_cte: add document corretion feature
- Loading branch information
1 parent
bc30b46
commit 1bc1607
Showing
3 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 - TODAY, Marcel Savegnago <[email protected]> | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
|
||
<record id="document_correction_wizard_form" model="ir.ui.view"> | ||
<field name="model">l10n_br_fiscal.document.correction.wizard</field> | ||
<field name="inherit_id" ref="l10n_br_fiscal.document_correction_wizard_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//footer" position="before"> | ||
<field name="document_type" invisible="1" /> | ||
<field name="document_type_id" invisible="1" readonly="1" /> | ||
<group attrs="{'invisible': [('document_type', '!=', '57')]}"> | ||
<!-- TODO: Melhorar --> | ||
<div> | ||
Por favor, para carta de correção de CT-e, no campo Justificativa informe por linha (Grupo Alterado;Campo Alterado;Valor Alterado).<br | ||
/> | ||
<strong>Exemplo:</strong><br /> | ||
compl;xObs;Nova Observação<br /> | ||
ide;cfop;6353 | ||
</div> | ||
</group> | ||
</xpath> | ||
</field> | ||
</record> | ||
|
||
</odoo> |