blob: 9983c64ed3218f170fb686ad3c6f4291c91c4308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from odoo import fields, models, api, _
from odoo.exceptions import AccessError, UserError, ValidationError
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT
import logging
_logger = logging.getLogger(__name__)
class SalesOrderReject(models.Model):
_name = 'sales.order.reject'
sale_order_id = fields.Many2one('sale.order', string='Sale Order')
product_id = fields.Many2one('product.product', string='Product')
qty_reject = fields.Float(string='Qty')
reason_reject = fields.Char(string='Reason Reject')
|