add contexual field to invoice form and copy value from sales if available

This commit is contained in:
Kristof Bernaert
2026-06-09 12:42:39 +02:00
parent 6dbd1ceb38
commit 6e55250daa
7 changed files with 40 additions and 6 deletions
@@ -0,0 +1,9 @@
from odoo import fields, models
class AccountMoveContextual(models.Model):
_inherit = 'account.move'
contextual_note = fields.Text(
string='Contextuele opmerking',
)