Compare commits
merge into: njeudy:12.0
njeudy:11.0
njeudy:12.0
njeudy:12.0-add-financial-risk
njeudy:12.0-backend_filter
njeudy:12.0-chg-monetary_fields
njeudy:12.0-easy_my_coop-module_category_cooperator_management
njeudy:12.0-emc-rest-connector
njeudy:12.0-emc_loan-o3-add-paid-amount
njeudy:12.0-emc_loan-o6-subscription_end_date
njeudy:12.0-fix-coop-validation
njeudy:12.0-flag-easymycoop-mail-template
njeudy:12.0-loan-improvements
njeudy:12.0-max-amount-per-share
njeudy:12.0-o4-net-interest-rate
njeudy:12.0-openupgrade
njeudy:12.0-small-changes
njeudy:12.0-touch-cooperator-type
njeudy:14.0-MIG-INITIAL
njeudy:9.0
njeudy:9.0-fix_tax_shelter_declaration_exclusion
njeudy:9.0-medor-hide_bank_and_birthdate
njeudy:9.0-tag
njeudy:9.0_remove_national_register_number
njeudy:myceliandre_usability
pull from: njeudy:9.0-medor-hide_bank_and_birthdate
njeudy:11.0
njeudy:12.0
njeudy:12.0-add-financial-risk
njeudy:12.0-backend_filter
njeudy:12.0-chg-monetary_fields
njeudy:12.0-easy_my_coop-module_category_cooperator_management
njeudy:12.0-emc-rest-connector
njeudy:12.0-emc_loan-o3-add-paid-amount
njeudy:12.0-emc_loan-o6-subscription_end_date
njeudy:12.0-fix-coop-validation
njeudy:12.0-flag-easymycoop-mail-template
njeudy:12.0-loan-improvements
njeudy:12.0-max-amount-per-share
njeudy:12.0-o4-net-interest-rate
njeudy:12.0-openupgrade
njeudy:12.0-small-changes
njeudy:12.0-touch-cooperator-type
njeudy:14.0-MIG-INITIAL
njeudy:9.0
njeudy:9.0-fix_tax_shelter_declaration_exclusion
njeudy:9.0-medor-hide_bank_and_birthdate
njeudy:9.0-tag
njeudy:9.0_remove_national_register_number
njeudy:myceliandre_usability
99 Commits
12.0
...
9.0-medor-
Author | SHA1 | Message | Date |
---|---|---|---|
Rémy Taymans | e053dff6d2 |
[FIX] emc: One route to rule them all
It's a problem to use one route for the form and one route for the submission of the form. When user is not logged and he tries to submit with an existing email, a error tell him to sign in before submitting. To login in there is a button that let him sign in. But after loggin in, he comes back to the post url of the form and this url doesn't perform checks that are performed when arriving on the form for the first time. |
5 years ago |
Rémy Taymans | f056eb1b2a |
[PEP] easy_my_coop main controller
|
5 years ago |
Rémy Taymans | e87c7b9e9a |
[CHG] emc: Hide fields in become_cooperator when user is logged
|
5 years ago |
Elouan Le Bars | f406155d5c |
[FIX] Mandatory field not displayed
Replace the api.onchange for an sql constraint. Mandatory configuration approval fields must be displayed now. |
5 years ago |
Robin Keunen |
b89635c2b3
|
Merge pull request #17 from coopiteasy/9.0-fix-install-from-scratch
[9.0][FIX] easy_my_coop: reorder menu definitions |
5 years ago |
Elouan Le Bars | ac153d748a |
[IMP] Change approval order for internal rules, data policy and financial risk
|
5 years ago |
Houssine BAKKALI |
59a53a7c7a
|
Merge pull request #22 from coopiteasy/9.0-unrequire-some-fields-when-logged
9.0 unrequire some fields when logged |
5 years ago |
Houssine BAKKALI |
e6d669c154
|
[PEP8] remove unused import
|
5 years ago |
houssine | 6e50f34afd |
[FIX] fix by pass control when iban not given
|
5 years ago |
houssine | 8a631f53ed |
[IMP] put website of CIE
|
5 years ago |
houssine | 6481ef3952 |
[IMP] make some fields non required when logged
As the user can't add them in his profile it make subscription non possible when those fields are missing |
5 years ago |
Elouan Le Bars | 88595b542f |
[FIX] internal rules checkbox required attribute
|
5 years ago |
Elouan Le Bars | 7cf099fec4 |
[ADD] Financial risk approval on subscription
|
5 years ago |
houssine | b70b4f558a |
[IMP] replace multi by model as we don't work with self
|
5 years ago |
houssine | d6c46f6c0e |
[IMP] get email template from its xml id instead of searching the name
|
5 years ago |
houssine | 96bc0e7b58 |
[FIX] move root menus in a dedicated file to load first
|
5 years ago |
houssine | bb4b2ebcb7 |
[FIX] fix t-att attributes for data policy
|
5 years ago |
houssine | c8881872e6 |
Merge branch '9.0' of https://github.com/coopiteasy/vertical-cooperative.git into 9.0
|
5 years ago |
houssine | 1b39e78ce1 |
[IMP] class name in camel case
|
5 years ago |
Houssine BAKKALI |
4ddc8aa933
|
Merge pull request #18 from coopiteasy/9.0_fix_confirmation_email
9.0 fix confirmation email |
5 years ago |
houssine | 8078b6cedc |
[IMP] set default_code required when is_share is True
|
5 years ago |
houssine | 2a2744dd6b |
[FIX] fix mix share if statement
the compare was made between cooperator type and the short name of the share type. but the cooperator type is the default code and not the short name which is the displayed label |
5 years ago |
houssine | 3308dbc4c7 |
[FIX] fix email confirmation read only when logged.
|
5 years ago |
robin.keunen | 54da114669 |
[IMP] emc: remove cooperative_history_wizard
|
5 years ago |
houssine | a412c17042 |
[FIX] remove duplicate instruction
|
5 years ago |
robin.keunen | 31b8b2d8d7 |
[FIX] easy_my_coop: reorder menu definitions
|
5 years ago |
houssine | 373848789b |
[FIX] fix expected singleton
|
5 years ago |
houssine | 1ab411a4de |
[FIX] fix filter
|
5 years ago |
houssine | fc51d8a7ee |
[FIX] fix again
|
5 years ago |
houssine | a722834c45 |
[FIX] fix filtering expression
|
5 years ago |
Houssine BAKKALI |
69744b14c0
|
Merge pull request #14 from coopiteasy/9.0_add_option_to_wizard
[IMP] add filter on sub requests |
5 years ago |
houssine | 5af8b99977 |
[IMP] add filter on sub requests
|
5 years ago |
Houssine BAKKALI |
693dc20246
|
Merge pull request #13 from coopiteasy/9.0_add_option_to_wizard
9.0 add option to wizard |
5 years ago |
houssine | 36df37fb77 |
Merge branch '9.0_add_option_to_wizard' of https://github.com/coopiteasy/vertical-cooperative.git into 9.0_add_option_to_wizard
|
5 years ago |
Houssine BAKKALI | 3dff9cf9e1 |
Update update_partner_info.py
|
5 years ago |
Houssine BAKKALI |
5934284cff
|
Update update_partner_info.py
|
5 years ago |
Houssine BAKKALI |
c62fbfcbe1
|
Merge pull request #8 from coopiteasy/9-translation-fr-easy-my-coop
Update fr_BE.po for Easy My Coop |
5 years ago |
houssine | d10e1d711c |
[IMP] option to update birthdate from subscription request
|
5 years ago |
houssine | 44d20cad81 |
[IMP] remove unused import
|
5 years ago |
houssine | 90f1e9221a |
[IMP] add confirmation email on subscription form
|
5 years ago |
houssine | ac019e5c92 |
[IMP] add legal_form to values before partner creation
|
5 years ago |
houssine | aa405ce451 |
[FIX] fix redirection when cooperator is a company
|
5 years ago |
houssine | 232d2c2d8c |
[IMP] fix indentation
|
5 years ago |
houssine | 6ab21082e1 |
[IMP] retrieve value from partner
|
5 years ago |
houssine | e24a719c75 |
[IMP] add legal form field on the partner form
|
5 years ago |
houssine | b95f5bd60c |
[REFACT] remove national register number
|
5 years ago |
houssine | d050bb9be3 |
[IMP] value for the french localization
|
5 years ago |
houssine | 2fd6546653 |
[IMP] add value for the switzerland
|
5 years ago |
houssine | 93437ff98f |
[IMP] add value of the belgian localisation
|
5 years ago |
houssine | 8440568f9c |
[IMP] put class name in camel case
|
5 years ago |
houssine | 2938e23a8a |
[IMP] use selection_add attribute instead of overriding the whole list
|
5 years ago |
houssine | 0a91674174 |
[REFACT] move belgian company type to belgian localisation
|
5 years ago |
houssine | 226a804a3b |
[IMP] retrieve the function on the representative
|
5 years ago |
houssine | ab5dd1216f |
[IMP] made company form's fields readonly when logged
|
5 years ago |
Houssine BAKKALI |
1bce9250c4
|
Merge pull request #10 from coopiteasy/9.0-replace-nnis-by-email
9.0 replace nnis by email |
5 years ago |
houssine | 554a4497b1 |
[REFACT] remove commented code
|
5 years ago |
houssine | 524abfb0b8 |
[IMP] replace required="True" by required="required"
|
5 years ago |
houssine | 08568e3de1 |
[IMP] change version and update licensing
|
5 years ago |
houssine | d4f9fc3d8f |
[INDENT] fix indentation
|
5 years ago |
houssine | 0e8f86195c |
[PEP] fix pep8
|
5 years ago |
houssine | ade9d33cd3 |
[IMP] make subscription field form read only
make subscription field form read only when logged in order to doesn't get confuse about data being updated. |
5 years ago |
houssine | f04528b53c |
[IMP] remove unused variable
|
5 years ago |
houssine | c4d854a6d1 |
[IMP] should be false not is_company
|
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 | f33fa6ec7f |
[FIX] fix _compute_cooperator_type
combining beesdoo modules and easy my coop without the beesdoo easy my coop module lead to problems. has the shares are hard coded in beesdoo_easy_my_coop We've changed the way it's computed. |
5 years ago |
houssine | 50e7a5f756 |
[FIX] fix reserved variable name
|
5 years ago |
vdewulf |
f2f294f71a
|
Update fr_BE.po for Easy My Coop
Update following Coline update in test environment for French translation |
5 years ago |
Houssine BAKKALI |
cb17a9c51b
|
Merge pull request #6 from coopiteasy/9.0_fix_operation_conversion
9.0 fix operation conversion |
5 years ago |
houssine | 83ec48edfe |
[FIX] company_email doesn't exist on res partner
|
6 years ago |
houssine | 80e58389f1 |
[IMP] remove state dield from there
|
6 years ago |
Houssine BAKKALI |
ac8e7c1e92
|
Merge pull request #5 from coopiteasy/9.0-fix-new_coop_form
[FIX] emc: Error casting str to int |
6 years ago |
houssine | 53aca0ee6e |
[IMP] add check in validate function
|
6 years ago |
Rémy Taymans | 0ef913acae |
[FIX] emc: Error casting str to int
I get this error when taking shares from the website form by a logged user. |
6 years ago |
Rémy Taymans | a5f633b384 |
[FIX] emc: Data policy and internal rules configuration
Configuration for data policy and internal rules was not loaded every time on the form to become new cooperator. |
6 years ago |
Rémy Taymans |
e494befa02
|
Merge pull request #4
[IMP] emc: Data policy and internal rules approval |
6 years ago |
Rémy Taymans | a749c558f9 |
[IMP] emc: Data policy and internal rules approval
This lets the user configure if an approval for data policy and internal rules are needed and/or required. |
6 years ago |
houssine | f2597b3220 |
[PEP8] fix pep8 warning
|
6 years ago |
houssine | 0a3fe10446 |
[FIX] invoice payment information have been moved to another field
|
6 years ago |
houssine | 837ed8deaf |
[IMP] add checkbox already coop on company form
|
6 years ago |
houssine | 032b731e5a |
[FIX] fix checkbox not filled when logged and already coop
|
6 years ago |
Rémy Taymans | 623fef4f08 |
[FIX] emc: Order of approvals checkbox in new cooperator form
This change the order of approvals for data policy and internal rules in the new cooperator form in the website part. This is done to be consistant with the modification added in the beesdoo_easy_my_coop module. |
6 years ago |
Rémy Taymans |
03776220e3
|
Merge pull request #2
[ADD] emc: Require data policy approval |
6 years ago |
Rémy Taymans | 54dcbd82ff |
[ADD] emc: Internal Rules Approved
The new cooperator needs to approve internal rules. |
6 years ago |
Rémy Taymans | 123aabf756 |
[CHG] emc: Remove dependence to website_legal_page
This commit removes the dependence to website_legal_page by using it's own template for showing text aside the checkbox in the form. Because the template for this text is not editable by the user (in fact, it is but each time the module is updated, this template is overwritten). Of course website_legal_page can always be installed, and the new template for the text can contain link to the pages generated by website_legal_page. |
6 years ago |
Rémy Taymans | cdc6d083b6 |
[REF] emc: Duplicate key 'customer'
This remove a duplicate key in a python dictionary. |
6 years ago |
Rémy Taymans | 5911b3e5bc |
[IMP] emc: Complete data_policy_approved processing
Now data_policy is shown on a subscription request and also on a partner. |
6 years ago |
robinkeunen | d7b431a202 |
[IMP] align already cooperator checkbox
|
7 years ago |
robinkeunen | afc28114aa |
[IMP] align send button
|
7 years ago |
robinkeunen | cb4a6ab8be |
[ADD] add website_legal_page and link to legal pages
|
7 years ago |
robinkeunen | 96f0b7f0d6 |
[ADD] require data policy approval
|
7 years ago |
houssine | 91dc06fc4e |
[IMP] take hard coded value from company field
|
6 years ago |
houssine | d909c3d32c |
[FIX] fix wrong field name
|
6 years ago |
houssine | 20dad701d6 |
[IMP] make release capital tree view use the customer invoice view tree
|
6 years ago |
houssine | ee6463c0dc |
[FIX] fix export. removing an old field
|
6 years ago |
houssine | f2478c9312 |
[IMP] make validation on iban only if iban is not empty
|
6 years ago |
houssine | ab62e69d6d |
[IMP] make iban field non required
|
6 years ago |
houssine | 18dce65cdc |
[IMP] set iban non required for this localisation
Remove iban number from the required fields and remove the field from the web form |
6 years ago |
houssine | e7cbc31932 |
[FIX] check no_registre only if it's required for the localisation
|
6 years ago |
houssine | 90969b1fef |
[FIX] fix undeclared variable domain is a special case
|
6 years ago |
46 changed files with 1181 additions and 777 deletions
-
26easy_my_coop/__openerp__.py
-
113easy_my_coop/controllers/main.py
-
804easy_my_coop/i18n/fr_BE.po
-
15easy_my_coop/migrations/9.1.0.0.2/pre-migration.py
-
8easy_my_coop/models/account_invoice.py
-
68easy_my_coop/models/company.py
-
112easy_my_coop/models/coop.py
-
10easy_my_coop/models/operation_request.py
-
30easy_my_coop/models/partner.py
-
2easy_my_coop/view/account_invoice_view.xml
-
1easy_my_coop/view/cooperator_register_view.xml
-
2easy_my_coop/view/email_template_view.xml
-
33easy_my_coop/view/menu.xml
-
8easy_my_coop/view/menu_item_view.xml
-
8easy_my_coop/view/operation_request_view.xml
-
11easy_my_coop/view/product_view.xml
-
9easy_my_coop/view/res_company_view.xml
-
11easy_my_coop/view/res_partner_view.xml
-
11easy_my_coop/view/subscription_request_view.xml
-
263easy_my_coop/view/subscription_template.xml
-
41easy_my_coop/wizard/cooperative_history_wizard.xml
-
38easy_my_coop/wizard/create_subscription_from_partner.py
-
2easy_my_coop/wizard/create_subscription_from_partner.xml
-
52easy_my_coop/wizard/update_partner_info.py
-
7easy_my_coop/wizard/update_partner_info.xml
-
1easy_my_coop/wizard/update_share_line.py
-
1easy_my_coop_be/__init__.py
-
2easy_my_coop_be/models/__init__.py
-
11easy_my_coop_be/models/coop.py
-
11easy_my_coop_be/models/partner.py
-
1easy_my_coop_ch/__openerp__.py
-
1easy_my_coop_ch/models/__init__.py
-
17easy_my_coop_ch/models/coop.py
-
17easy_my_coop_ch/models/partner.py
-
13easy_my_coop_ch/views/subscription_request_view.xml
-
18easy_my_coop_ch/views/subscription_template.xml
-
14easy_my_coop_export_xlsx/wizard/export_global_wizard.py
-
1easy_my_coop_fr/models/__init__.py
-
10easy_my_coop_fr/models/coop.py
-
13easy_my_coop_fr/models/partner.py
-
5easy_my_coop_fr/views/subscription_template.xml
-
1easy_my_coop_online_payment/controllers/main.py
-
2easy_my_coop_website_document/__openerp__.py
-
2easy_my_coop_website_portal/__openerp__.py
-
2easy_my_coop_website_taxshelter/__openerp__.py
-
2website_portal_extend/__openerp__.py
804
easy_my_coop/i18n/fr_BE.po
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,15 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
def migrate(cr, version): |
|||
if not version: |
|||
return |
|||
|
|||
cr.execute("UPDATE res_company " |
|||
"SET internal_rules_approval_required = FALSE " |
|||
"WHERE display_internal_rules_approval = FALSE") |
|||
cr.execute("UPDATE res_company " |
|||
"SET data_policy_approval_required = FALSE " |
|||
"WHERE display_data_policy_approval = FALSE") |
|||
cr.execute("UPDATE res_company " |
|||
"SET financial_risk_approval_required = FALSE " |
|||
"WHERE display_financial_risk_approval = FALSE") |
@ -0,0 +1,33 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
Copyright 2019 Coop IT Easy |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
<odoo> |
|||
<!-- top menus --> |
|||
|
|||
<menuitem name="Easy-My Coop" id="menu_main_easy_my_coop" sequence="40" groups="easy_my_coop.group_energiris_user"/> |
|||
<menuitem name="Cooperators" id="menu_easy_my_coop_main_coop" parent="menu_main_easy_my_coop" sequence="5" /> |
|||
<menuitem name="Subscription" id="menu_easy_my_coop_main_subscription" parent="menu_main_easy_my_coop" sequence="10" groups="easy_my_coop.group_energiris_manager"/> |
|||
<menuitem name="Reporting" id="menu_easy_my_coop_main_reporting" parent="menu_main_easy_my_coop" sequence="40" groups="easy_my_coop.group_energiris_manager"/> |
|||
<menuitem name="Configuration" id="menu_easy_my_coop_config" parent="menu_main_easy_my_coop" sequence="20"/> |
|||
|
|||
<!-- views --> |
|||
<menuitem action="action_invoice_tree_coop" id="menu_action_invoice_tree_coop" parent="menu_easy_my_coop_main_coop" groups="easy_my_coop.group_energiris_user"/> |
|||
<menuitem id="menu_easy_my_coop_cooperator" name="Cooperators" parent="menu_easy_my_coop_main_coop" action="action_partner_cooperator_form" sequence="100"/> |
|||
<menuitem id="menu_easy_my_coop_cooperator_candidate" name="Cooperator Candidates" parent="menu_easy_my_coop_main_coop" action="action_partner_cooperator_candidate_form" sequence="150"/> |
|||
<menuitem id="menu_easy_my_coop_company_representative" name="Company representative" parent="menu_easy_my_coop_main_coop" action="action_company_representative_form" sequence="160"/> |
|||
|
|||
<menuitem action="subscription_register_action" name="Subscription Register" id="menu_easy_my_coop_subscription_register" parent="menu_easy_my_coop_main_subscription" sequence="20"/> |
|||
<menuitem action="operation_request_action" name="Operation request" id="menu_easy_my_coop_operation_request" parent="menu_easy_my_coop_main_subscription" sequence="20" groups="easy_my_coop.group_energiris_manager"/> |
|||
<menuitem action="share_product_action" name="Share type" id="menu_easy_my_coop_share_product" parent="menu_easy_my_coop_main_subscription" sequence="20"/> |
|||
<menuitem action="subscription_request_action" name="Cooperator Subscription" id="menu_easy_my_coop_subscription_request" parent="menu_easy_my_coop_main_subscription" sequence="10"/> |
|||
<menuitem action="company_subscription_request_action" name="Company Subscription" id="menu_easy_my_coop_company_subscription_request" parent="menu_easy_my_coop_main_subscription" sequence="12"/> |
|||
<menuitem action="share_line_action" name="Share lines" id="menu_easy_my_coop_share_line" parent="menu_easy_my_coop_main_subscription" sequence="20" groups="group_energiris_super_manager"/> |
|||
|
|||
<menuitem id="menu_easy_my_coop_templates" parent="menu_easy_my_coop_config" action="action_easy_my_coop_email_templates" sequence="10" groups="group_energiris_manager"/> |
|||
|
|||
<!-- wizards --> |
|||
<menuitem action="action_view_update_partner_info" name="Update coop partner" id="menu_view_update_partner_info" parent="menu_easy_my_coop_main_subscription" sequence="60" groups="base.group_system"/> |
|||
|
|||
</odoo> |
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<menuitem name="Easy-My Coop" id="menu_main_easy_my_coop" sequence="40" groups="easy_my_coop.group_energiris_user"/> |
|||
<menuitem name="Subscription" id="menu_easy_my_coop_main_subscription" parent="menu_main_easy_my_coop" sequence="10" groups="easy_my_coop.group_energiris_manager"/> |
|||
<menuitem name="Reporting" id="menu_easy_my_coop_main_reporting" parent="menu_main_easy_my_coop" sequence="40" groups="easy_my_coop.group_energiris_manager"/> |
|||
</data> |
|||
</odoo> |
@ -1,41 +0,0 @@ |
|||
<?xml version="1.0" ?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_cooperative_history_wizard" model="ir.ui.view"> |
|||
<field name="name">cooperative.history.wizard.form</field> |
|||
<field name="model">cooperative.history.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Reporting" version="7.0"> |
|||
<separator string="Cooperative History"/> |
|||
<group> |
|||
<field name="report"/> |
|||
</group> |
|||
<label string="This report allows you to print a pdf of history and number of share for each cooperator"/> |
|||
<group> |
|||
<field name="display_cooperator"/> |
|||
</group> |
|||
|
|||
<footer> |
|||
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_cooperative_history_wizard" model="ir.actions.act_window"> |
|||
<field name="name">Cooperative history</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="res_model">cooperative.history.report</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="view_cooperative_history_wizard"/> |
|||
<field name="target">new</field> |
|||
<field name="multi">True</field> |
|||
</record> |
|||
|
|||
<menuitem id="menu_energiris_reporting" name="Reporting" parent="menu_main_energiris" sequence="20"/> |
|||
<menuitem id="menu_coop_history_wizard_report" name="Cooperative history report" parent="menu_energiris_reporting" action="action_cooperative_history_wizard" sequence="10"/> |
|||
</data> |
|||
</openerp> |
@ -0,0 +1 @@ |
|||
from . import models |
@ -0,0 +1,2 @@ |
|||
from . import coop |
|||
from . import partner |
@ -0,0 +1,11 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import fields, models |
|||
|
|||
|
|||
class SubscriptionRequest(models.Model): |
|||
_inherit = 'subscription.request' |
|||
|
|||
company_type = fields.Selection([('scrl', 'SCRL'), |
|||
('asbl', 'ASBL'), |
|||
('sprl', 'SPRL'), |
|||
('sa', 'SA')]) |
@ -0,0 +1,11 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
_inherit = 'res.partner' |
|||
|
|||
legal_form = fields.Selection(selection_add=[('scrl', 'SCRL'), |
|||
('asbl', 'ASBL'), |
|||
('sprl', 'SPRL'), |
|||
('sa', 'SA')]) |
@ -1 +1,2 @@ |
|||
from . import coop |
|||
from . import partner |
@ -0,0 +1,17 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
_inherit = 'res.partner' |
|||
|
|||
legal_form = fields.Selection(selection_add=[ |
|||
('ei', 'Individual company'), |
|||
('snc', 'Partnership'), |
|||
('sa', 'Limited company (SA)'), |
|||
('sarl', 'Limited liability company (Ltd)'), |
|||
('sc', 'Cooperative'), |
|||
('asso', 'Association'), |
|||
('fond', 'Foundation'), |
|||
('edp', 'Company under public law') |
|||
]) |
@ -1,13 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data> |
|||
<record id="subscription_request_form" model="ir.ui.view"> |
|||
<field name="name">subscription.request.form</field> |
|||
<field name="model">subscription.request</field> |
|||
<field name="inherit_id" ref="easy_my_coop.subscription_request_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="no_registre" position="replace"/> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -1 +1,2 @@ |
|||
from . import coop |
|||
from . import partner |
@ -0,0 +1,13 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from openerp import fields, models |
|||
|
|||
|
|||
class ResPartner(models.Model): |
|||
_inherit = 'res.partner' |
|||
|
|||
legal_form = fields.Selection(selection_add=[ |
|||
('asso', 'Association'), |
|||
('eurl', 'EURL / Entreprise individuelle'), |
|||
('sarl', 'SARL'), |
|||
('sa', 'SA / SAS') |
|||
]) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue