diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-01-12 11:02:57 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-01-12 11:02:57 +0700 |
| commit | 8b3d929a7cae089ac12d9752d3f97793dbe084d5 (patch) | |
| tree | 236f442c309560222940f15b7b6a42e05f6d2b80 /indoteknik_custom/models | |
| parent | 19bbd3203d41d9f52206d7ceaa96480a19566197 (diff) | |
add new product rest api
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/x_manufactures.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py index 1d215cf8..e6842797 100755 --- a/indoteknik_custom/models/x_manufactures.py +++ b/indoteknik_custom/models/x_manufactures.py @@ -42,6 +42,8 @@ class XManufactures(models.Model): ('reset', 'Reset'), ('done', 'Done') ], string="Cache Reset") + sequence = fields.Integer(string='Sequence', help='Urutan tampil di homepage jika show as new product') + show_as_new_product = fields.Boolean(string='Show as New Product', help='Centang jika ingin ditammpilkan di website sebagai segment Produk Baru') def cache_reset(self): manufactures = self.env['x_manufactures'].search([ |
