mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-25 16:12:01 +02:00
11 lines
331 B
Python
11 lines
331 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class AccountMove(models.Model):
|
|
_inherit = "account.move"
|
|
|
|
def _get_action_per_item(self):
|
|
action = self.env.ref('account.action_move_out_invoice_type').id
|
|
return {invoice.id: action for invoice in self}
|