6 Commits
Author SHA1 Message Date
simon 82ce1fa21d release: version 0.1.4 🚀
Build Docker image / Create Release (push) Successful in 7s
Build Docker image / deploy (push) Successful in 18s
2025-05-24 21:27:01 +02:00
simon 515876e6c9 fix: broken source code indentation, refs NOISSUE 2025-05-24 21:26:57 +02:00
simon 1cd16ebc09 release: version 0.1.3 🚀
Build Docker image / Create Release (push) Successful in 6s
Build Docker image / deploy (push) Successful in 43s
2025-05-24 21:13:51 +02:00
simon 8edc710be8 fix: more CI issues, refs NOISSUE 2025-05-24 21:13:49 +02:00
simon a5133b1ba0 release: version 0.1.2 🚀
Build Docker image / Create Release (push) Successful in 9s
Build Docker image / deploy (push) Failing after 8s
2025-05-24 21:12:01 +02:00
simon a4d11f9212 fix: CI issues, refs NOISSUE 2025-05-24 21:11:58 +02:00
5 changed files with 45 additions and 14 deletions
@@ -87,8 +87,8 @@ start() {
gitchangelog | grep -v "[rR]elease:" > HISTORY.md
git add HISTORY.md
echo $new_version > song_of_the_day/VERSION
git add song_of_the_day/VERSION
echo $new_version > VERSION
git add VERSION
git commit -m "release: version $new_version 🚀"
echo "creating git tag : $new_version"
git tag $new_version
+3 -3
View File
@@ -41,7 +41,7 @@ jobs:
- name: Check version match
run: |
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!"
else
echo "Version must match!"
@@ -57,5 +57,5 @@ jobs:
run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}' | tr '[:upper:]' '[:lower:]')
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_')
docker build -t "git.disi.dev/$REPOSITORY_OWNER/odoo17:$(cat $REPOSITORY_NAME/VERSION)" ./
docker push "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 VERSION)"
+30
View File
@@ -5,6 +5,36 @@ Changelog
(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]
+1
View File
@@ -0,0 +1 @@
0.1.4
+9 -9
View File
@@ -479,15 +479,15 @@ class Partner(models.Model):
'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. You can use the "Discard" button to abandon this change.')}
if partner.type == 'contact' or self.type == 'contact':
# for contacts: copy the parent address, if set (aka, at least one
# value is set in the address: otherwise, keep the one from the
# contact)
#address_fields = self._address_fields()
#if any(self.parent_id[key] for key in address_fields):
# def convert(value):
# return value.id if isinstance(value, models.BaseModel) else value
# result['value'] = {key: convert(self.parent_id[key]) for key in address_fields}
#if partner.type == 'contact' or self.type == 'contact':
# # for contacts: copy the parent address, if set (aka, at least one
# # value is set in the address: otherwise, keep the one from the
# # contact)
# address_fields = self._address_fields()
# if any(self.parent_id[key] for key in address_fields):
# def convert(value):
# return value.id if isinstance(value, models.BaseModel) else value
# result['value'] = {key: convert(self.parent_id[key]) for key in address_fields}
return result
@api.onchange('parent_id')