l10n doesn't depend of stock so move it to l10n_stock to have correct dependencies closes odoo/odoo#84173 X-original-commit: f1c55ec86102bfd52730f34eb19d002d4e22a3d2 Signed-off-by: Arnold Moyaux <arm@odoo.com>
13 lines
335 B
Python
13 lines
335 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class StockPicking(models.Model):
|
|
_inherit = 'stock.picking'
|
|
|
|
def _should_generate_commercial_invoice(self):
|
|
super(StockPicking, self)._should_generate_commercial_invoice()
|
|
return True
|