odoo14-dev-environment/patches/20210908_l10n-co-account-e-invoicing_remove-computes-for-initial-install.patch

32 lines
1.4 KiB
Diff

diff --git a/l10n_co_account_e_invoicing/models/account_move.py b/l10n_co_account_e_invoicing/models/account_move.py
index ff2ca84..350cdc0 100644
--- a/l10n_co_account_e_invoicing/models/account_move.py
+++ b/l10n_co_account_e_invoicing/models/account_move.py
@@ -110,18 +110,21 @@ class AccountMove(models.Model):
warn_remaining_certificate = fields.Boolean(
string="Warn About Remainings?",
- compute="_compute_warn_certificate",
+ # compute="_compute_warn_certificate",
store=False)
warn_inactive_certificate = fields.Boolean(
string="Warn About Inactive Certificate?",
- compute="_compute_warn_certificate",
+ # compute="_compute_warn_certificate",
store=False)
sequence_resolution_id = fields.Many2one(
comodel_name='ir.sequence.date_range',
string='Sequence Resolution',
- compute='_compute_sequence_resolution_id',
+ # compute='_compute_sequence_resolution_id',
+ store=False)
+ dbname = fields.Char(
+ string="DB Name",
+ # compute="_compute_dbname",
store=False)
- dbname = fields.Char(string="DB Name", compute="_compute_dbname", store=False)
invoice_datetime = fields.Datetime(string='Invoice Datetime', copy=False)
delivery_datetime = fields.Datetime(string='Delivery Datetime', copy=False)
operation_type = fields.Selection(