Go to file
Xavier Morel 5f8ad6a626 [IMP] runbot_merge: support for merging partners w/ github_login
The logic of the partner merge wizard is to collect all relevant data
from source partners, write them to a destination partner, then remove
the sources.

This... doesn't work when the field in question has a UNIQUE
constraint (like github_login), because it's going to copy the value
from a source onto a dest which will blow the constraint, and so the
copy fails. In that case the user first has to *move over* the unique
field's value then they can use the wizard.

Just fix for the github login: take all sources, remove (and store)
their github logins, then write the login onto the dst.

An alternative would have been to *defer* the constraint, however:

* it only works on unique constraints, not unique indexes
* it requires the constraint to be declared DEFERRABLE

Closes #301
2020-03-16 15:03:11 +01:00
forwardport [IMP] forwardport: exponential backoff on reminders 2020-03-16 15:03:11 +01:00
runbot [IMP] runbot: add coverage xml export 2020-03-13 13:40:46 +01:00
runbot_builder [IMP] runbot: build docker image once per loop turn 2020-01-22 13:50:01 +01:00
runbot_cla [IMP] runbot: simplify views and adapt to odoo13 2020-01-14 13:24:58 +01:00
runbot_merge [IMP] runbot_merge: support for merging partners w/ github_login 2020-03-16 15:03:11 +01:00
.gitignore [IMP] runbot: build docker image once per loop turn 2020-01-22 13:50:01 +01:00
conftest.py [IMP] runbot_merge: support for merging partners w/ github_login 2020-03-16 15:03:11 +01:00
README.md [REF] README: update the readme file for the brand new repo 2018-03-08 16:59:39 +01:00
requirements.txt [IMP] runbot: dynamic requirements 2019-12-02 16:36:56 +01:00

Odoo Runbot Repository

This repository contains the source code of Odoo testing bot runbot.odoo.com and related addons.

Runbot

The runbot/ directory holds the main runbot Odoo addon.

Runbot CLA addon

The runbot_cla/ directory contains an Odoo addon that checks CLA.