Add Tryton 7.0 series branch compatibility
Publish Package / publish (push) Successful in 49s

This commit is contained in:
José Arturo García
2026-09-30 18:44:12 -04:00
parent 5459de41c9
commit 1f23c9f281
4 changed files with 16 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ name: Publish Package
on:
push:
branches:
- "8.0"
- "7.0"
workflow_dispatch:
permissions:
@@ -19,7 +19,7 @@ jobs:
with:
token: ${{ secrets.GITEA_TOKEN }}
github-server-url: "http://unpaismejor-gitea-app:3000"
ref: "8.0"
ref: ${{ github.ref_name }}
fetch-depth: 0
- name: Detect package branch
+12
View File
@@ -1,3 +1,15 @@
from trytond.pool import Pool
from . import invoice
__all__ = ['invoice']
def register():
Pool.register(
invoice.Invoice,
invoice.DebitInvoiceStart,
module='account_debit_note', type_='model')
Pool.register(
invoice.DebitInvoice,
module='account_debit_note', type_='wizard')
+1 -1
View File
@@ -5,7 +5,7 @@ build-backend = 'hatchling.build'
[project]
name = 'unpaismejor_account_debit_note'
dynamic = ['version', 'dependencies', 'optional-dependencies', 'authors', 'readme']
requires-python = '>=3.10'
requires-python = '>=3.8'
maintainers = [
{name = "Fundación Un País Mejor"},
]
+1 -1
View File
@@ -1,5 +1,5 @@
[tryton]
version=8.0.0
version=7.0.0
depends:
account_invoice
xml: