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/x_partner_purchase_order.py | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
Diffstat (limited to 'indoteknik_custom/models/x_partner_purchase_order.py')
| -rw-r--r-- | indoteknik_custom/models/x_partner_purchase_order.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indoteknik_custom/models/x_partner_purchase_order.py b/indoteknik_custom/models/x_partner_purchase_order.py new file mode 100644 index 00000000..6beca5df --- /dev/null +++ b/indoteknik_custom/models/x_partner_purchase_order.py @@ -0,0 +1,13 @@ +from odoo import models, fields + + +class XPartnerPurchaseOrder(models.Model): + _name = "x_partner.purchase.order" + _description = "Customer Purchase Order" + _rec_name = "x_name" + + x_name = fields.Char(string="Nomor PO/Name") + x_studio_field_56vPy = fields.Text(string="Keterangan") + x_studio_field_EcZlH = fields.Integer(string="Partner ID") + x_studio_field_eFt2C = fields.Binary(string="Upload PO") + x_studio_field_yDfr5 = fields.Many2one('sale.order', string="Sales Order") |
