Elouan Le Bars
db52e66f47
[ADD] Financial risk approval choice to company, subscription and partner models
5 years ago
Houssine BAKKALI
a103acb35c
[FIX] fix var used before assignement
5 years ago
houssine
77f1ed38e3
[IMP] small improvements
5 years ago
houssine
fcfed3f016
[FIX] fix import
5 years ago
houssine
45c4232164
[IMP] don't control iban validity if no number is provided
5 years ago
houssine
f3eb9b2fb4
[IMP] fix some PEP8
5 years ago
houssine
d5ee9662bb
[IMP] remove no_register from required fields
5 years ago
houssine
94447b39c5
[FIX] fix retrieving mail template through self.env.ref
5 years ago
houssine
34a9960a36
[REFACT] for legal reason we remove the niss number to email instead
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
5 years ago
houssine
48d58595ed
[IMP] send mail using sudo()
6 years ago
houssine
0e42d8f1d2
[FIX] add sudo to by pass access right restriction on send mail
6 years ago
houssine
cba4dca8eb
[FIX] make python3 compliant
6 years ago
houssine
9d72b4dec4
[REFACT] create function set_membership in order to be overridden
6 years ago
houssine
86f7cab597
[IMP] set create user False as the default behaviour
6 years ago
houssine
c7499df295
[IMP] this is handled in the get_mail_template_certificate function
6 years ago
houssine
f0b0d01bed
[REFACT] checking membership in a dedicated function to allow overriding
6 years ago
houssine
e3659cc311
[IMP] put init invoice vals in a dedicated function
6 years ago
houssine
289244b003
[IMP] put mail template id in a dedicated 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
6ccc9c7e9c
[IMP] add description to models
6 years ago
houssine
07ecb855c1
[FIX] fix label
6 years ago
houssine
7ef3a2acd7
[FIX] fix indentation
6 years ago
houssine
9669c929e1
[IMP] put class name in camel case
6 years ago
houssine
de7d155629
[FIX] fix the user creation
6 years ago
houssine
4a234e18cf
[FIX] call action_invoice_open instead of validate
6 years ago
houssine
e826566d49
[FIX] fix ported from v9
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
beb11abe5b
[FIX] remove readonly attribute wrongly set on the field
6 years ago
houssine
eb4e1133ce
[IMP] handle the case where the one to which we transfer is a candidate
6 years ago
houssine
e269b49f84
[FIX] fix the logo display in the mail 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
4a9ef70ff3
[FIX] fix required field
6 years ago
houssine
16117510d3
[FIX] replace self by partner
6 years ago
houssine
172b7b1680
[IMP] make quantity default value to 1
6 years ago
houssine
7e06f53e2f
[FIX] fix field name for partner_contact_fistname
6 years ago
houssine
e417895d73
[IMP] put iban control in a specific function to be reused
6 years ago
houssine
b79ba96290
[IMP] adapt control of the subscription iban and niss number
6 years ago
houssine
34366d618b
[IMP] remove commented code
6 years ago
houssine
813ec8a6b6
[IMP] in case of a user has previously been created and deactivated
6 years ago
houssine
fedc396205
[IMP] make the default value at true to not break current behaviour
6 years ago
houssine
62381a191a
[IMP] make user creation conditional and moving code to invoice payment
6 years ago
houssine
31eb9b6393
[IMP] fill in automatically when selecting cooperator.
When creating manually a subscription request. It will fill in the all
the fields automatically when selecting a partner in the cooperator
field. It will ease the manual subscription request
6 years ago
houssine
19c4cd3338
[IMP] make related field short name read only in share line
6 years ago
houssine
8c4b8df0fb
[IMP] make fields read only once the state is no more draft
6 years ago
houssine
243e32b4b5
[FIX] little fix to handle "/" for beescoop.
fix to handle the forked implementation of partner_firstname
6 years ago
houssine
7b15577097
[IMP] raise error for an unimplemented case for shares conversion
6 years ago
houssine
fe8f912c51
[IMP] make unmixing shares True as the default behavior
6 years ago