mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-20 07:22:07 +02:00
11 lines
336 B
Python
11 lines
336 B
Python
from odoo import models
|
|
|
|
|
|
class BaseDocumentLayout(models.TransientModel):
|
|
_inherit = 'base.document.layout'
|
|
|
|
def document_layout_save(self):
|
|
res = super(BaseDocumentLayout, self).document_layout_save()
|
|
for wizard in self:
|
|
wizard.company_id.action_save_onboarding_invoice_layout()
|
|
return res
|