mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 02:52:02 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
10
odoo-bringout-oca-ocb-l10n_ec/l10n_ec/models/res_company.py
Normal file
10
odoo-bringout-oca-ocb-l10n_ec/l10n_ec/models/res_company.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from odoo import models
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
|
||||
_inherit = "res.company"
|
||||
|
||||
def _localization_use_documents(self):
|
||||
self.ensure_one()
|
||||
return self.account_fiscal_country_id.code == "EC" or super(ResCompany, self)._localization_use_documents()
|
||||
Loading…
Add table
Add a link
Reference in a new issue