houssine
bb15ea91f2
[FIX] fix when company it creates duplicated
6 years ago
houssine
2619165456
[IMP] remove not necessary line
6 years ago
houssine
c3161526ea
[IMP] adding some validation and fix
Check that the cooperator doesn't mix share when it's not allowed and
that he doesn't subscribe for more than he can if he own already shares
6 years ago
houssine
ffeee69c71
[IMP] remove call_back in render
6 years ago
houssine
8640e92555
[REFACT] put validation of the subscription data in a dedicated function
6 years ago
houssine
4af9809615
[REFACT] a bit of refactoring
6 years ago
houssine
c8bf966b13
[IMP] add control on iban and niss number in the subscription form
6 years ago
houssine
c28bddb6b8
[PEP8] fix pep8
6 years ago
houssine
8c99920ce8
[FIX] set default value to the first share if no default one is defined
6 years ago
houssine
4b48f45db1
[FIX] return to the form with error message if no attachment provided
6 years ago
houssine
7cdbb30df6
[IMP] make the upload file required when it's displayed
6 years ago
houssine
781de91209
[PEP8] fixing more PEP8 error
6 years ago
houssine
3a8f60cc79
[PEP8] make code comply with PEP8
6 years ago
houssine
971826eace
[FIX] fix special case for is_company value
7 years ago
houssine
3db48d8c10
[IMP] make error messages translatable
7 years ago
houssine
860d12551a
[FIX] in the case of a company we should search the user based on the
company email instead of the representative email
7 years ago
houssine
54cf8d241b
[IMP] replace hardcoded currency symbol by the company currency.
7 years ago
houssine
efaaa4b547
[IMP] if the cooperator candidate is connected we tie the related
partner to the cooperator subscription.
7 years ago
houssine
226b5582e2
[TYPO] fix typo in error message
7 years ago
houssine
533862d03d
[IMP] move outside if and else common initialisation field
7 years ago
houssine
c849e01280
[IMP] if the partner tied to the connected user is a company the request
is forwarded to the company subscription form
7 years ago
houssine
74281c0599
[IMP] fill in subscription form with value from the user when he's
logged in
7 years ago
houssine
dde82cfbf1
[IMP] add logged checkbox on the two subscription forms
7 years ago
houssine
c64efd2320
[FIX] fix birthdate convertion
7 years ago
houssine
14b23b53d2
[IMP] allow to fill the cooperator subscription form from the connected
user data if logged.
7 years ago
houssine
7f215f591d
[REFACT] remove commented code
7 years ago
houssine
dac73d0a31
[IMP] add a field source for the subscription request to track the
source of the creation
7 years ago
houssine
a2d8171a32
[FIX] fix sending product.template id when working with product.product
in the whole process. This was raising some glitch when product.template
and produc.product doesn't have the same id. issue encountered on a demo
database.
8 years ago
houssine
70b44f5676
[IMP] add the possibility to force the minimum quantity to subscribe on
the share_type
8 years ago
houssine
221055bc25
[ADD] moving odoo cooperative modules on github
8 years ago