houssine
e4547d6f49
[REFACT] remove unused import
6 years ago
houssine
78a594ed05
[REFACT] remove unused variable
6 years ago
houssine
cb260f5b22
[FIX] fix import
6 years ago
houssine
a801b6982f
[REFACT] some cleaning in the code and comply with pep8
6 years ago
houssine
68277e9cdb
[IMP] put on the waiting list
Add the possibility to put a subscription request on the waiting list.
add a waiting state the action to update the state and the related
button on the form
6 years ago
houssine
a3a8d2faa8
[FIX] confirmation mail template fix variable name
6 years ago
houssine
93fe42f5a5
[IMP] implement share conversion
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
cd10955ffa
[REFACT] replace api.one by api.multi
6 years ago
houssine
a2e94d0a85
[IMP] add call to validate in submit_operation function
this way we avoid going until approve step to get an validation error
6 years ago
houssine
e6b756fb06
[IMP] add share conversion feature.
6 years ago
houssine
7bc5f2bab9
[REM] removing unused py
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
1f14f58ed6
[IMP] change summed fields in group by
6 years ago
houssine
2130359982
[FIX] fix case where the representative wasn't yet in the system
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
45b513f2a9
[IMP] add type representative as default type for contact of company
6 years ago
houssine
0ea59cc854
[IMP] add status and source field and default value to trace from where
a subscription request has been created
6 years ago
houssine
3842f0ed89
[IMP] change coop_candidate computation
6 years ago
houssine
54af34d7d0
[FIX] fix wrong evaluation
6 years ago
houssine
f2ad689d22
[FIX] undeclared function
6 years ago
houssine
6c4cb32a87
[IMP] handle case where an old cooperator subscribe again for shares
6 years ago
houssine
0324a06793
[IMP] cannot validate a subscription request with share number smaller
or equal 0
7 years ago
houssine
e455c54b1d
[FIX] fix case where register company number are not used
7 years ago
houssine
a805cdcb0e
[FIX] quick fix for non belgian localization(we should not take the
national number into account
7 years ago
houssine
8e77bbdbaf
[FIX] fix hard coded default lang in subscription request. needed for
swiss localisation
7 years ago
houssine
c0ca876ec0
[REFACT] customer field is defined from the share type.
7 years ago
houssine
00bc5f2d68
[TYPO] fix typo
7 years ago
houssine
208620f53b
[IMP] apply national register number control also for the legal
representative(same field than for a person).
7 years ago
houssine
131b2a65d7
[IMP] add a computed field coop_candidate and a menu item to display
company representative
7 years ago
houssine
3bdd08f830
[IMP] the company should be create with the email company instead of the
one of the representative.
7 years ago
houssine
a93f97ba3e
[FIX] handle the case where the subscription is created from the CRM
7 years ago
houssine
62b8387ae2
[FIX] add missing self
7 years ago
houssine
3965408b6e
[IMP] make if statement understandable
7 years ago
houssine
2b9d11bb5c
[FIX] fix one case here the evaluation shouldn't be True
7 years ago
houssine
afebc53c21
[IMP] extract sexy invoice from easy my coop to put it in a dedicated
module.
7 years ago
houssine
2fae062591
[IMP] add a button to invite to login if the share subscriber has
already an account
7 years ago
houssine
708e4d2944
[FIX] it was a missing self on the previous object
7 years ago
houssine
101789f69b
[FIX] get field from self
7 years ago
houssine
f214882447
[IMP] move the flag become client to easy_my_coop_base
7 years ago
houssine
3dd4c371fb
[FIX] fix typo in variable name
7 years ago
houssine
59caa08fd3
[FIX] put code block to create user and send email invitation in the if
statement where it belongs
7 years ago
houssine
a3fdc0b9f3
[IMP] save birthdate in the field defined by partner_contact_birthdate
7 years ago
houssine
52a6dc2547
[REFACT] no need to have this code anymore
7 years ago
houssine
55e573162b
[IMP] add function to get the representative of the company
7 years ago
houssine
152a185d72
[REFACT] move user creation code to a dedicated function
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
7c6ff0939b
[FIX] do not force sending email to avoid stacktrace in case of the mail
serveur is deactivated or not available.
7 years ago
houssine
e9cf8493f5
[IMP] handle case where a legal representative subscribe to some shares.
So no duplicate is created. but the representative appears as a
cooperator candidate even if he has not subscribed
7 years ago