flectra/addons/l10n_sg_gst/models/res_company.py
2018-04-20 14:27:40 +05:30

19 lines
508 B
Python

# Part of Flectra. See LICENSE file for full copyright and licensing
# details.
from flectra import models, fields
class ResCompany(models.Model):
_inherit = 'res.company'
is_gst = fields.Boolean(string='Is GST Applicable?', default=False)
gst_number = fields.Char(string='GST Number', size=256)
class ResPartner(models.Model):
_inherit = 'res.partner'
is_gst = fields.Boolean(string='Is GST Applicable?', default=False)
gst_number = fields.Char(string='GST Number', size=256)