diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-01-23 09:20:18 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-01-23 09:20:18 +0000 |
| commit | da5f5134f56b2ccf1c1de16c3f7616ab3719f3ea (patch) | |
| tree | bc1bcb4fb00f2659be81810d528a9cf2cc6ce20d /indoteknik_custom/models/website_ads.py | |
| parent | e52cf84fd2284330412162b44066f29bd382f590 (diff) | |
| parent | 8af5ee591aabc2d5d946c0eece93a5caab989975 (diff) | |
Merged in release (pull request #27)
Release
Diffstat (limited to 'indoteknik_custom/models/website_ads.py')
| -rw-r--r-- | indoteknik_custom/models/website_ads.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/indoteknik_custom/models/website_ads.py b/indoteknik_custom/models/website_ads.py new file mode 100644 index 00000000..ec360294 --- /dev/null +++ b/indoteknik_custom/models/website_ads.py @@ -0,0 +1,18 @@ +from odoo import fields, models + + +class WebsiteAds(models.Model): + _name = 'website.ads' + + sequence = fields.Integer(string='Sequence') + name = fields.Char(string='Name') + image = fields.Binary(string='Image') + url = fields.Char(string='URL') + page = fields.Selection([ + ('product', 'Product'), + ('homepage', 'Home Page') + ], string='Page') + status = fields.Selection([ + ('tayang', 'Tayang'), + ('tidak_tayang', 'Tidak Tayang') + ], string='Status') |
