Skip to content

[19.0][MIG] contract_membership_delegated_partner: Migration to 19.0#228

Open
victoralmau wants to merge 17 commits into
OCA:19.0from
Tecnativa:19.0-mig-contract_membership_delegated_partner
Open

[19.0][MIG] contract_membership_delegated_partner: Migration to 19.0#228
victoralmau wants to merge 17 commits into
OCA:19.0from
Tecnativa:19.0-mig-contract_membership_delegated_partner

Conversation

@victoralmau

Copy link
Copy Markdown
Member

Migration to 19.0

Locked by:

@Tecnativa TT63400

chienandalu and others added 17 commits July 1, 2026 10:01
- Adaptation to the new OCA contract module paradigm.
Update "development_status": "Production/Stable"
[UPD] Update contract_membership_delegated_partner.pot

[BOT] post-merge updates
…elds are always truthy

This is an additional sanity check to make sure that fields that are
expected to be available are actually available.

The situation here is a little tricky. Especially as pertains date_from
and date_to; these fields are `required=True` nowhere. Not on the
product, not on the membership invoice, and not on the membership line.
However, they _are_ set as required in the product and membership line
views. If these values are ever empty, it's a sure sign that something
went wrong somewhere, because the user should not be able to reach such
a state via the UI.

One sure way to reach that state was via the demo data, however, which
had no start and end dates. This is now fixed.

The situation for the variable period fields is similar. These fields
should never be empty when the membership type is variable, and it's not
typically possible to empty these values via the UI. For convenience's
sake, I simply set them to required an sich, with a default value.

Signed-off-by: Carmen Bianca BAKKER <carmen@carmenbianca.eu>

[BOT] post-merge updates
TT51523

[UPD] Update contract_membership_delegated_partner.pot

[BOT] post-merge updates
[UPD] Update contract_membership_delegated_partner.pot

[BOT] post-merge updates
@OCA-git-bot OCA-git-bot added series:19.0 mod:contract_membership_delegated_partner Module contract_membership_delegated_partner labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:contract_membership_delegated_partner Module contract_membership_delegated_partner series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants