Skip to content

Commit

Permalink
Merge branch '14.0' into 15.0-fix-004-jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-pcg committed Feb 29, 2024
2 parents 107751d + c99e3ec commit e4ac1c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_do_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Localization",
"license": "LGPL-3",
"website": "https://github.com/odoo-dominicana",
"version": "15.0.0.14.1",
"version": "15.0.0.14.2",
# any module necessary for this one to work correctly
"depends": ["l10n_latam_invoice_document", "l10n_do"],
# always loaded
Expand Down
5 changes: 4 additions & 1 deletion l10n_do_accounting/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ class AccountJournalDocumentType(models.Model):
l10n_do_ncf_expiration_date = fields.Date(
string="Expiration date",
required=True,
default=fields.Date.end_of(fields.Date.today(), "year"),
default=fields.Date.end_of(
fields.Date.today().replace(month=12, year=fields.Date.today().year + 1),
"year",
),
)
company_id = fields.Many2one(
string="Company", related="journal_id.company_id", readonly=True
Expand Down

0 comments on commit e4ac1c9

Please sign in to comment.