houssine
6d9fc8fa95
[FIX] fix uncovered use case
when a subscription request is created from the wizard on a res partner
view. If the customer wasn't already cooperator, he wasn't flagged as
cooperator.
5 years ago
houssine
554a4497b1
[REFACT] remove commented code
5 years ago
houssine
da0653d76b
[REFACT] replace national register number by email
Due to a legal issue we won't use the national register number anymore.
So the unique identification will now be made through the email of the
partner from now.
5 years ago
houssine
37f5ed6de3
[PEP8] fix pep8
6 years ago
houssine
0502ea62ab
[FIX] fix wrong field name
7 years ago
houssine
07e93dffc8
[IMP] create subscription with national register number of the compamny
representative
7 years ago
houssine
8d7fa459db
[IMP] add representative name the company subscription request
7 years ago
houssine
3aab417b84
[FIX] fix case where subcription request has no company email.
7 years ago
houssine
56289970f3
[FIX] add condition is_company when handling the company representative
7 years ago
houssine
e8cdcff7d0
[IMP] add a wizard to update readonly fields
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
houssine
f19a4d77ca
[IMP] manage legal representative in the wizard
7 years ago
houssine
7072d9ff03
[FIX] return Char field
7 years ago
houssine
14af6801f7
[FIX] return acc_number field as default value
7 years ago
houssine
255e27916b
[FIX] set vals to the field acc_number instead of the res.partner.bank
object
7 years ago
houssine
c85628fa67
[IMP] move vals out of the if
7 years ago
houssine
557600510c
[FIX] remove self
7 years ago
houssine
810ae7a444
[FIX] the default get bank account number don't get it from the partner
it return None
7 years ago
houssine
7bbaab6a63
[IMP] add field on form view wizard
7 years ago
houssine
439b17a724
[IMP] handle case where there is no bank account defined on the partner
7 years ago
houssine
1bb6656823
[FIX] force commit on cr as it is needed in case of the email address
has been added to be able to send the email
7 years ago
houssine
265aea6d61
[IMP] and and make email required on the wizard form
7 years ago
houssine
6919491b02
[FIX] fill the mandatory name field when the it's a company subscription
7 years ago
houssine
232b432068
[FIX] set the res partner name in company_name when partner is a company
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
442dc3cd8f
[FIX] add is_company to True to the vals if it's a company
7 years ago
houssine
f6a608dbdb
[FIX] fix the case where two share type has been flaged as default.
Return the first one
7 years ago
houssine
e564869d10
[IMP] add wizard to create a subscription request right from the res
partner
7 years ago