When we make an invoice with the point of sale, we now include the serial numbers on the invoice template if the option is ticked.
closes odoo/odoo#59516
Task-id: 2349339
Related: odoo/upgrade#1830
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
14 lines
582 B
Python
14 lines
582 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
module_stock_landed_costs = fields.Boolean("Landed Costs",
|
|
help="Affect landed costs on reception operations and split them among products to update their cost price.")
|
|
group_lot_on_invoice = fields.Boolean("Display Lots & Serial Numbers on Invoices",
|
|
implied_group='stock_account.group_lot_on_invoice')
|