summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/x_partner_purchase_order.py
blob: 6beca5df803bf5e1ec49334341c5917e8a130b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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")