[IMP] l10n_ec: remove unused field l10n_ec_emission_type

The field was foreseen in advance in the community module,
but the final implementation of the electronic invoicing
did not need it.

Part-of: odoo/odoo#137914
This commit is contained in:
Josse Colpaert
2023-10-13 23:20:14 +00:00
parent 168b56e069
commit 331eaf2122
-10
View File
@@ -22,13 +22,3 @@ class AccountJournal(models.Model):
for journal in self:
journal.l10n_ec_require_emission = journal.type == 'sale' and journal.country_code == 'EC' and journal.l10n_latam_use_documents
# NOTE: Removed in master as it has no use
l10n_ec_emission_type = fields.Selection(
string="Emission type",
selection=[
("pre_printed", "Pre Printed"),
("auto_printer", "Auto Printer"),
("electronic", "Electronic"),
],
default="electronic",
)