Initial commit: Odoomates Odoo packages (12 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:49:21 +02:00
commit 3b38c49bf0
526 changed files with 34983 additions and 0 deletions

View file

@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
from . import account_move
from . import settings

View file

@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from odoo import fields, models, api
class AccountMove(models.Model):
_inherit = "account.move"
@api.model
def _get_invoice_in_payment_state(self):
return 'in_payment'

View file

@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
anglo_saxon_accounting = fields.Boolean(related="company_id.anglo_saxon_accounting",
readonly=False, string="Use anglo-saxon accounting",
help="Record the cost of a good as an expense when this good is invoiced "
"to a final customer.")