Compare commits
9 Commits
0.1.0
...
82ce1fa21d
| Author | SHA1 | Date | |
|---|---|---|---|
| 82ce1fa21d | |||
| 515876e6c9 | |||
| 1cd16ebc09 | |||
| 8edc710be8 | |||
| a5133b1ba0 | |||
| a4d11f9212 | |||
| d043e4fc99 | |||
| 78e6666201 | |||
| 7cc1ae22bb |
15
.gitea/PULL_REQUEST_TEMPLATE.md
Normal file
15
.gitea/PULL_REQUEST_TEMPLATE.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
### Summary :memo:
|
||||||
|
_Write an overview about it._
|
||||||
|
|
||||||
|
### Details
|
||||||
|
_Describe more what you did on changes._
|
||||||
|
1. (...)
|
||||||
|
2. (...)
|
||||||
|
|
||||||
|
### Bugfixes :bug: (delete if dind't have any)
|
||||||
|
-
|
||||||
|
|
||||||
|
### Checks
|
||||||
|
- [ ] Closed #798
|
||||||
|
- [ ] Tested Changes
|
||||||
|
- [ ] Stakeholder Approval
|
||||||
@@ -87,8 +87,8 @@ start() {
|
|||||||
|
|
||||||
gitchangelog | grep -v "[rR]elease:" > HISTORY.md
|
gitchangelog | grep -v "[rR]elease:" > HISTORY.md
|
||||||
git add HISTORY.md
|
git add HISTORY.md
|
||||||
echo $new_version > song_of_the_day/VERSION
|
echo $new_version > VERSION
|
||||||
git add song_of_the_day/VERSION
|
git add VERSION
|
||||||
git commit -m "release: version $new_version 🚀"
|
git commit -m "release: version $new_version 🚀"
|
||||||
echo "creating git tag : $new_version"
|
echo "creating git tag : $new_version"
|
||||||
git tag $new_version
|
git tag $new_version
|
||||||
|
|||||||
4
.gitea/release_message.sh
Executable file
4
.gitea/release_message.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# generates changelog since last release
|
||||||
|
previous_tag=$(git tag --sort=-creatordate | sed -n 2p)
|
||||||
|
git shortlog "${previous_tag}.." | sed 's/^./ &/'
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
- name: Check version match
|
- name: Check version match
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
|
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
|
||||||
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME}" ] ; then
|
if [ "$(cat VERSION)" = "${GITHUB_REF_NAME}" ] ; then
|
||||||
echo "Version matches successfully!"
|
echo "Version matches successfully!"
|
||||||
else
|
else
|
||||||
echo "Version must match!"
|
echo "Version must match!"
|
||||||
@@ -57,5 +57,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
|
||||||
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
|
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
|
||||||
docker build -t "git.disi.dev/$REPOSITORY_OWNER/odoo17:$(cat $REPOSITORY_NAME/VERSION)" ./
|
docker build -t "git.disi.dev/$REPOSITORY_OWNER/odoo17:$(cat VERSION)" ./
|
||||||
docker push "git.disi.dev/$REPOSITORY_OWNER/odoo17:$(cat $REPOSITORY_NAME/VERSION)"
|
docker push "git.disi.dev/$REPOSITORY_OWNER/odoo17:$(cat VERSION)"
|
||||||
|
|||||||
42
HISTORY.md
42
HISTORY.md
@@ -4,6 +4,48 @@ Changelog
|
|||||||
|
|
||||||
(unreleased)
|
(unreleased)
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Broken source code indentation, refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
|
||||||
|
0.1.3 (2025-05-24)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- More CI issues, refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
|
||||||
|
0.1.2 (2025-05-24)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- CI issues, refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
|
||||||
|
|
||||||
|
0.1.1 (2025-05-24)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Create new build, refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
- Ci: add missing CI files, refs NOISSUE. [Simon Diesenreiter]
|
||||||
|
|
||||||
|
|
||||||
|
0.1.0 (2025-05-24)
|
||||||
|
------------------
|
||||||
- Feat: initial commit and update partner logic, refs NOISSUE. [Simon
|
- Feat: initial commit and update partner logic, refs NOISSUE. [Simon
|
||||||
Diesenreiter]
|
Diesenreiter]
|
||||||
|
|
||||||
|
|||||||
@@ -479,15 +479,15 @@ class Partner(models.Model):
|
|||||||
'was never correctly set. If an existing contact starts working for a new '
|
'was never correctly set. If an existing contact starts working for a new '
|
||||||
'company then a new contact should be created under that new '
|
'company then a new contact should be created under that new '
|
||||||
'company. You can use the "Discard" button to abandon this change.')}
|
'company. You can use the "Discard" button to abandon this change.')}
|
||||||
if partner.type == 'contact' or self.type == 'contact':
|
#if partner.type == 'contact' or self.type == 'contact':
|
||||||
# for contacts: copy the parent address, if set (aka, at least one
|
# # for contacts: copy the parent address, if set (aka, at least one
|
||||||
# value is set in the address: otherwise, keep the one from the
|
# # value is set in the address: otherwise, keep the one from the
|
||||||
# contact)
|
# # contact)
|
||||||
#address_fields = self._address_fields()
|
# address_fields = self._address_fields()
|
||||||
#if any(self.parent_id[key] for key in address_fields):
|
# if any(self.parent_id[key] for key in address_fields):
|
||||||
# def convert(value):
|
# def convert(value):
|
||||||
# return value.id if isinstance(value, models.BaseModel) else value
|
# return value.id if isinstance(value, models.BaseModel) else value
|
||||||
# result['value'] = {key: convert(self.parent_id[key]) for key in address_fields}
|
# result['value'] = {key: convert(self.parent_id[key]) for key in address_fields}
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@api.onchange('parent_id')
|
@api.onchange('parent_id')
|
||||||
|
|||||||
Reference in New Issue
Block a user