This commit is contained in:
@@ -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
@@ -1,3 +1,15 @@
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import invoice
|
||||
|
||||
__all__ = ['invoice']
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
invoice.Invoice,
|
||||
invoice.CreditInvoiceStart,
|
||||
module='account_credit_note', type_='model')
|
||||
Pool.register(
|
||||
invoice.CreditInvoice,
|
||||
module='account_credit_note', type_='wizard')
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ build-backend = 'hatchling.build'
|
||||
[project]
|
||||
name = 'unpaismejor_account_credit_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,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
|
||||
envlist = {py38,py39,py310,py311}-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
extras = test
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
[tryton]
|
||||
version=8.0.1
|
||||
version=7.0.0
|
||||
depends:
|
||||
account_invoice
|
||||
xml:
|
||||
|
||||
Reference in New Issue
Block a user