mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 06:52:03 +02:00
19.0 vanilla
This commit is contained in:
parent
d1963a3c3a
commit
2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions
|
|
@ -8,5 +8,9 @@ def patch_module():
|
|||
raise AttributeError(f"{self.__class__.__name__!r} object has no attribute {arg!r}")
|
||||
return orig_policy_clone(self, **kwargs)
|
||||
|
||||
def policy_add(self, other):
|
||||
return policy_clone(self, **other.__dict__)
|
||||
|
||||
orig_policy_clone = _PolicyBase.clone
|
||||
_PolicyBase.clone = policy_clone
|
||||
_PolicyBase.__add__ = policy_add
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue