summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-trytond-account-dunning.spec216
-rw-r--r--sources1
3 files changed, 218 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a688c35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/trytond_account_dunning-6.8.0.tar.gz
diff --git a/python-trytond-account-dunning.spec b/python-trytond-account-dunning.spec
new file mode 100644
index 0000000..6f23f62
--- /dev/null
+++ b/python-trytond-account-dunning.spec
@@ -0,0 +1,216 @@
+%global _empty_manifest_terminate_build 0
+Name: python-trytond-account-dunning
+Version: 6.8.0
+Release: 1
+Summary: Tryton module for account dunning
+License: GPL-3
+URL: http://www.tryton.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/c3/fd3c36c2c6480041ff4b26c78775c0527d47e05f4a0a74c82f758c07410f/trytond_account_dunning-6.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-sql
+Requires: python3-trytond-account
+Requires: python3-trytond-company
+Requires: python3-trytond-party
+Requires: python3-trytond
+Requires: python3-proteus
+
+%description
+Account Dunning Module
+######################
+
+The account_dunning module adds dunning for receivable move lines.
+
+Procedure
+*********
+
+A *Procedure* defines the dunning process with an ordered list of levels.
+A dunning will raise from one level to an other by selecting the next level
+that pass the test.
+The Procedure is set per *Party* and a default one can be configured in the
+accounting configuration.
+
+Level
+*****
+
+A *Level* defines the parameters to reach it:
+
+- Days: The number of overdue days.
+
+Dunning
+*******
+
+A *Dunning* defines the dunning level of an overdue move line. Once processed,
+it triggers the communication defined on the procedure level. It is mainly
+defined by:
+
+- Line: The overdue move line
+- Procedure: The *Procedure* followed.
+- Level: The current *Level*.
+- Blocked: If true, it blocks the dunning to raise.
+
+The dunning can be in one of these states:
+
+* Draft
+
+ The current level is not yet processed.
+
+* Waiting
+
+ The current level has been processed.
+
+* Final
+
+ All levels have been processed.
+
+
+%package -n python3-trytond-account-dunning
+Summary: Tryton module for account dunning
+Provides: python-trytond-account-dunning
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-trytond-account-dunning
+Account Dunning Module
+######################
+
+The account_dunning module adds dunning for receivable move lines.
+
+Procedure
+*********
+
+A *Procedure* defines the dunning process with an ordered list of levels.
+A dunning will raise from one level to an other by selecting the next level
+that pass the test.
+The Procedure is set per *Party* and a default one can be configured in the
+accounting configuration.
+
+Level
+*****
+
+A *Level* defines the parameters to reach it:
+
+- Days: The number of overdue days.
+
+Dunning
+*******
+
+A *Dunning* defines the dunning level of an overdue move line. Once processed,
+it triggers the communication defined on the procedure level. It is mainly
+defined by:
+
+- Line: The overdue move line
+- Procedure: The *Procedure* followed.
+- Level: The current *Level*.
+- Blocked: If true, it blocks the dunning to raise.
+
+The dunning can be in one of these states:
+
+* Draft
+
+ The current level is not yet processed.
+
+* Waiting
+
+ The current level has been processed.
+
+* Final
+
+ All levels have been processed.
+
+
+%package help
+Summary: Development documents and examples for trytond-account-dunning
+Provides: python3-trytond-account-dunning-doc
+%description help
+Account Dunning Module
+######################
+
+The account_dunning module adds dunning for receivable move lines.
+
+Procedure
+*********
+
+A *Procedure* defines the dunning process with an ordered list of levels.
+A dunning will raise from one level to an other by selecting the next level
+that pass the test.
+The Procedure is set per *Party* and a default one can be configured in the
+accounting configuration.
+
+Level
+*****
+
+A *Level* defines the parameters to reach it:
+
+- Days: The number of overdue days.
+
+Dunning
+*******
+
+A *Dunning* defines the dunning level of an overdue move line. Once processed,
+it triggers the communication defined on the procedure level. It is mainly
+defined by:
+
+- Line: The overdue move line
+- Procedure: The *Procedure* followed.
+- Level: The current *Level*.
+- Blocked: If true, it blocks the dunning to raise.
+
+The dunning can be in one of these states:
+
+* Draft
+
+ The current level is not yet processed.
+
+* Waiting
+
+ The current level has been processed.
+
+* Final
+
+ All levels have been processed.
+
+
+%prep
+%autosetup -n trytond-account-dunning-6.8.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-trytond-account-dunning -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 6.8.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a5b26bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+132756a887b65fb5a4ab3e2c1ac55920 trytond_account_dunning-6.8.0.tar.gz