| 1 |
|
| 2 |
from odoo import api, models |
| 3 |
|
| 4 |
|
| 5 |
class ProductUom(models.Model): |
| 6 |
_name = 'product.uom' |
| 7 |
_inherit = ['product.uom', 'pos.load.mixin'] |
| 8 |
|
| 9 |
@api.model |
| 10 |
def _load_pos_data_fields(self, config): |
| 11 |
return ['id', 'barcode', 'product_id', 'uom_id'] |