account_incoterms.py 757 B

1234567891011121314151617181920
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import fields, models
  4. class AccountIncoterms(models.Model):
  5. _name = 'account.incoterms'
  6. _description = 'Incoterms'
  7. name = fields.Char(
  8. 'Name', required=True, translate=True,
  9. help="Incoterms are series of sales terms. They are used to divide transaction costs and responsibilities between buyer and seller and reflect state-of-the-art transportation practices.")
  10. code = fields.Char(
  11. 'Code', size=3, required=True,
  12. help="Incoterm Standard Code")
  13. active = fields.Boolean(
  14. 'Active', default=True,
  15. help="By unchecking the active field, you may hide an INCOTERM you will not use.")