First Commit

This commit is contained in:
2026-05-31 10:17:09 +07:00
commit 17a9c69379
4547 changed files with 1170384 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
from . import account_move
from . import settings
@@ -0,0 +1,9 @@
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'
+11
View File
@@ -0,0 +1,11 @@
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."
)