forked from indexa-git/l10n-dominicana
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] mejoras en el funcionamiento e integracion de la localizacion d…
…ominicana con la localizacion plus.
- Loading branch information
1 parent
2a7fe24
commit 9183260
Showing
6 changed files
with
231 additions
and
137 deletions.
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
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,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="view_account_invoice_filter_inherit" model="ir.ui.view"> | ||
<field name="name">account.invoice.select.inherit.plus</field> | ||
<field name="model">account.move</field> | ||
<field name="inherit_id" ref="account.view_account_invoice_filter"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='name']" position="after"> | ||
<field name="l10n_do_fiscal_number"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
<record id="view_move_form_plus" model="ir.ui.view"> | ||
<field name="name">account.move.form.plus</field> | ||
<field name="model">account.move</field> | ||
<field name="inherit_id" ref="account.view_move_form"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='partner_id']" position="after"> | ||
<field name="fiscal_type_name" invisible="1"/> | ||
<field name="total_descontado" invisible="1"/> | ||
<field name="total_without_discount" invisible="1"/> | ||
<field name="received_delivered" invisible="1"/> | ||
<field name="label_report_one" invisible="1"/> | ||
<field name="label_report_two" invisible="1"/> | ||
</xpath> | ||
<xpath expr="//field[@name='tax_lock_date_message']/.." position="after"> | ||
<div class="alert alert-warning" | ||
role="alert" style="margin-bottom:0px;" | ||
attrs="{'invisible': ['|', '|', '|', | ||
('move_type', '=', 'entry'), | ||
('country_code', '!=', 'DO'), | ||
('l10n_do_company_in_contingency', '=', False), | ||
('state', '!=', 'draft')]}"> | ||
Notice. This company is in a transient state of contingency for Electronic Invoice issuing. NCF | ||
issuing has been enabled. | ||
</div> | ||
</xpath> | ||
<!-- TODO no esta aplicando bien los atributos de invisible--> | ||
<xpath expr="//button[@name='button_draft']" position="after"> | ||
<button name="convert_to_fiscal_invoice" type="object" string="Convert To Fiscal" | ||
attrs="{'invisible': ['|', '|', | ||
('state', 'in', ('draft', 'cancel')), | ||
('move_type', '!=', 'out_invoice'), | ||
('l10n_latam_use_documents', '=', True)]}"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.