houssine
4936d43567
[REFACT] put the email send in a dedicated function to allow overriding.
5 years ago
houssine
9a7cc8f5ff
[REFACT] get mail template from function in order to allow override.
5 years ago
robin.keunen
b694520b19
[ADD] emc: add licences
5 years ago
Houssine BAKKALI
a103acb35c
[FIX] fix var used before assignement
5 years ago
Houssine BAKKALI
3330df2f91
[FIX] company_email doesn't exist on partner
The code has been moved from subscription request and this should have been removed previously when moving the code
6 years ago
houssine
48d58595ed
[IMP] send mail using sudo()
6 years ago
houssine
9d72b4dec4
[REFACT] create function set_membership in order to be overridden
6 years ago
houssine
c7499df295
[IMP] this is handled in the get_mail_template_certificate function
6 years ago
houssine
23e1785619
[REFACT] return domain from a function to allow to be overridden
6 years ago
houssine
233854052a
[REFACT] move vals dict to separate functions
Move vals dictionnaries to separate functions in order to allow it to be
overrided
6 years ago
houssine
62e78460eb
[IMP] put code in dedicated function in order to be extended
6 years ago
houssine
de7d155629
[FIX] fix the user creation
6 years ago
houssine
57651c32a1
[MIG] migration module to v12.
This make the base module installable. Still in WIP. Need fixing warning
and subscription template
6 years ago
houssine
269ab82522
[IMP] Allow to have different mail template per share.
This allows to have different mail for "payment received confirmation".
The mail template can be defined on the share type form. Then on
reconciliation process, if a specific mail template has been defined it
will override the default one. otherwise the default mail template will
be used.
6 years ago
houssine
16117510d3
[FIX] replace self by partner
6 years ago
houssine
813ec8a6b6
[IMP] in case of a user has previously been created and deactivated
6 years ago
houssine
62381a191a
[IMP] make user creation conditional and moving code to invoice payment
6 years ago
houssine
e4547d6f49
[REFACT] remove unused import
6 years ago
houssine
a801b6982f
[REFACT] some cleaning in the code and comply with pep8
6 years ago
houssine
03f1bab207
[REFACT] get sequence and mail template by ref
get sequences and mail templates by ref on their xml id instead
searching on the name field of the corresponding object
6 years ago
houssine
2faa65783f
[FIX] Fix release capital request reconciled with a credit note
In the case where a release capital request is reconciled with a credit
note(when you want to cancel properly a capital release request from an
accounting point of view). In the confirm_paid function the order of the
invoices are not always the same. Some time you get the credit note
first and some times you get the original invoice first. it leads to
problem in case of the credit note go first. this commit fix the
problem.
6 years ago
houssine
abc577ff3f
[PEP8] pep8 code style refactoring
6 years ago
houssine
09fd84b650
[FIX] release capital request matched with credit note
when a release capital request is matched with a credit note it's marked
as paid but it should not process it has a normal paid release capital
request. No share should be given to the cooperator and no operation
should be written in the cooperator register
6 years ago
houssine
54af34d7d0
[FIX] fix wrong evaluation
7 years ago
houssine
6c4cb32a87
[IMP] handle case where an old cooperator subscribe again for shares
7 years ago
houssine
afebc53c21
[IMP] extract sexy invoice from easy my coop to put it in a dedicated
module.
7 years ago
houssine
3dd4c371fb
[FIX] fix typo in variable name
7 years ago
houssine
1b2f3d7eb8
[FIX] if an old cooperator subscribe again to some share, he should not
receive a new cooperator number
7 years ago
houssine
058f4b3988
[FIX] select the right mail template to send instead according the
status of the member
8 years ago
houssine
85d7e3d09c
[REFACT] remove comment
8 years ago
houssine
599d06aba5
[FIX] call the set_effective_cooperator parent function only in case of
deferred payment method
8 years ago
houssine
221055bc25
[ADD] moving odoo cooperative modules on github
8 years ago