diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
| commit | 803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch) | |
| tree | b462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/models/coupon_program.py | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
Diffstat (limited to 'indoteknik_custom/models/coupon_program.py')
| -rw-r--r-- | indoteknik_custom/models/coupon_program.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/indoteknik_custom/models/coupon_program.py b/indoteknik_custom/models/coupon_program.py new file mode 100644 index 00000000..4c839c9f --- /dev/null +++ b/indoteknik_custom/models/coupon_program.py @@ -0,0 +1,20 @@ +from odoo import fields, models + + +class CouponProgram(models.Model): + _inherit = "coupon.program" + + x_studio_banner_promo = fields.Binary(string="Banner Promo") + x_studio_field_2Ul77 = fields.Binary(string="Icon Program Promo 2") + x_studio_field_Ifopn = fields.Binary(string="Icon Program Promo") + x_studio_field_xaRIr = fields.One2many( + comodel_name="x_banner.banner", + inverse_name="x_studio_field_7ppSi", + string="New One2many" + ) + x_studio_field_xo3cl = fields.One2many( + comodel_name="x_banner.banner", + inverse_name="x_studio_field_7ppSi", + string="Relasi Banner" + ) + x_studio_image_promo = fields.Binary(string="Image Promo") |
