From 803e4f8b3cf9c1d6a43a354023edc1e065f4121e Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 17:21:18 +0700 Subject: initial commit 2 --- indoteknik_custom/models/x_partner_purchase_order.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 indoteknik_custom/models/x_partner_purchase_order.py (limited to 'indoteknik_custom/models/x_partner_purchase_order.py') 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") -- cgit v1.2.3