This commit is contained in:
@@ -3,7 +3,7 @@ name: Publish Package
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "8.0"
|
- "7.0"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
github-server-url: "http://unpaismejor-gitea-app:3000"
|
github-server-url: "http://unpaismejor-gitea-app:3000"
|
||||||
ref: "8.0"
|
ref: ${{ github.ref_name }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Detect package branch
|
- name: Detect package branch
|
||||||
|
|||||||
+12
@@ -1,3 +1,15 @@
|
|||||||
|
from trytond.pool import Pool
|
||||||
|
|
||||||
from . import invoice
|
from . import invoice
|
||||||
|
|
||||||
__all__ = ['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]
|
[project]
|
||||||
name = 'unpaismejor_account_credit_note'
|
name = 'unpaismejor_account_credit_note'
|
||||||
dynamic = ['version', 'dependencies', 'optional-dependencies', 'authors', 'readme']
|
dynamic = ['version', 'dependencies', 'optional-dependencies', 'authors', 'readme']
|
||||||
requires-python = '>=3.10'
|
requires-python = '>=3.8'
|
||||||
maintainers = [
|
maintainers = [
|
||||||
{name = "Fundación Un País Mejor"},
|
{name = "Fundación Un País Mejor"},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
|
envlist = {py38,py39,py310,py311}-{sqlite,postgresql}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
extras = test
|
extras = test
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[tryton]
|
[tryton]
|
||||||
version=8.0.1
|
version=7.0.0
|
||||||
depends:
|
depends:
|
||||||
account_invoice
|
account_invoice
|
||||||
xml:
|
xml:
|
||||||
|
|||||||
Reference in New Issue
Block a user