16 lines
508 B
Python
16 lines
508 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import models, fields
|
|
|
|
class ResUsers(models.Model):
|
|
_inherit = 'res.users'
|
|
|
|
hide_confirm_order_send_rfq = fields.Boolean(
|
|
string="Hide Confirm Order & Send RFQ",
|
|
help="Hide Confirm Order and Send RFQ buttons on Purchase Order form for this user."
|
|
)
|
|
|
|
hide_purchase_prices = fields.Boolean(
|
|
string="Hide Price, Subtotal & Total",
|
|
help="Hide Unit Price, Subtotal, and Totals on Purchase Order form for this user."
|
|
)
|