robin.keunen
5 years ago
101 changed files with 4138 additions and 3811 deletions
-
6easy_my_coop/__init__.py
-
86easy_my_coop/data/easy_my_coop_data.xml
-
886easy_my_coop/data/mail_template_data.xml
-
2easy_my_coop/demo/coop.xml
-
2easy_my_coop/models/mail_template.py
-
22easy_my_coop/models/operation_request.py
-
1easy_my_coop/readme/CONTRIBUTORS.rst
-
92easy_my_coop/report/cooperator_register_G001.xml
-
82easy_my_coop/report/cooperator_subscription_G001.xml
-
38easy_my_coop/report/easy_my_coop_report.xml
-
32easy_my_coop/security/ir.model.access.csv
-
54easy_my_coop/static/src/css/coop_report.css
-
50easy_my_coop/static/src/js/easy_my_coop.js
-
2720easy_my_coop/static/src/js/jquery.inputmask.bundle.js
-
146easy_my_coop/views/account_invoice_view.xml
-
52easy_my_coop/views/account_journal_view.xml
-
154easy_my_coop/views/cooperator_register_view.xml
-
30easy_my_coop/views/email_template_view.xml
-
210easy_my_coop/views/operation_request_view.xml
-
306easy_my_coop/views/product_view.xml
-
68easy_my_coop/views/res_company_view.xml
-
12easy_my_coop/views/res_partner_view.xml
-
402easy_my_coop/views/subscription_request_view.xml
-
6easy_my_coop/wizard/cooperative_history_wizard.xml
-
72easy_my_coop/wizard/update_share_line.xml
-
2easy_my_coop_be/__init__.py
-
4easy_my_coop_be/models/__init__.py
-
1easy_my_coop_be/readme/CONTRIBUTORS.rst
-
2easy_my_coop_ch/__init__.py
-
4easy_my_coop_ch/models/__init__.py
-
52easy_my_coop_ch/views/subscription_template.xml
-
1easy_my_coop_dividend/__init__.py
-
1easy_my_coop_dividend/models/__init__.py
-
1easy_my_coop_dividend/readme/CONTRIBUTORS.rst
-
2easy_my_coop_dividend/security/ir.model.access.csv
-
328easy_my_coop_dividend/views/dividend_views.xml
-
2easy_my_coop_eater/__init__.py
-
4easy_my_coop_eater/models/__init__.py
-
58easy_my_coop_eater/models/coop.py
-
20easy_my_coop_eater/models/product.py
-
26easy_my_coop_eater/view/product_view.xml
-
1easy_my_coop_export_xlsx/__init__.py
-
1easy_my_coop_export_xlsx/readme/CONTRIBUTORS.rst
-
1easy_my_coop_export_xlsx/wizard/__init__.py
-
2easy_my_coop_export_xlsx/wizard/export_global_wizard.xml
-
2easy_my_coop_fr/__init__.py
-
4easy_my_coop_fr/models/__init__.py
-
1easy_my_coop_fr/readme/CONTRIBUTORS.rst
-
98easy_my_coop_fr/views/certificate_template.xml
-
27easy_my_coop_fr/views/layout_template.xml
-
28easy_my_coop_fr/views/subscription_template.xml
-
2easy_my_coop_loan/__init__.py
-
1easy_my_coop_loan/readme/CONTRIBUTORS.rst
-
14easy_my_coop_loan/security/ir.model.access.csv
-
2easy_my_coop_loan/views/loan_view.xml
-
102easy_my_coop_loan/views/partner_view.xml
-
2easy_my_coop_loan_website/__init__.py
-
2easy_my_coop_loan_website/controllers/__init__.py
-
32easy_my_coop_loan_website/data/website_loan_data.xml
-
1easy_my_coop_loan_website/readme/CONTRIBUTORS.rst
-
18easy_my_coop_loan_website/static/src/js/loan_issue.js
-
108easy_my_coop_loan_website/template/loan_issue_template.xml
-
1easy_my_coop_taxshelter_report/readme/CONTRIBUTORS.rst
-
2easy_my_coop_website/__init__.py
-
1easy_my_coop_website/readme/CONTRIBUTORS.rst
-
232easy_my_coop_website/views/subscription_template.xml
-
1easy_my_coop_website_portal/__init__.py
-
1easy_my_coop_website_portal/controllers/__init__.py
-
1easy_my_coop_website_portal/readme/CONTRIBUTORS.rst
-
4easy_my_coop_website_portal/views/easy_my_coop_website_portal_templates.xml
-
1easy_my_coop_website_taxshelter/__init__.py
-
1easy_my_coop_website_taxshelter/controllers/__init__.py
-
1easy_my_coop_website_taxshelter/readme/CONTRIBUTORS.rst
-
2partner_age/__init__.py
-
2partner_age/models/__init__.py
-
1partner_age/readme/CONTRIBUTORS.rst
-
48partner_age/view/partner_view.xml
-
1theme_light/readme/CONTRIBUTORS.rst
-
66theme_light/report/header_report_G002.xml
-
4theme_light/static/css/global_theme.sass
-
26theme_light/static/css/invoice_B001.css
-
32theme_light/static/css/invoice_B002.css
-
26theme_light/static/css/invoice_G001.css
-
48theme_light/static/css/invoice_G002.css
-
32theme_light/static/css/invoice_O002.css
-
42theme_light/static/css/invoice_P002.css
-
26theme_light/static/css/invoice_orange.css
-
30theme_light/static/css/mail_template_B001.css
-
12theme_light/static/css/theme_zen_black.css
-
42theme_light/static/css/theme_zen_blue.css
-
12theme_light/static/css/theme_zen_brown.css
-
30theme_light/static/css/theme_zen_green.css
-
70theme_light/static/css/theme_zen_orange.css
-
44theme_light/static/css/theme_zen_purple.css
-
12theme_light/static/css/theme_zen_red.css
-
177theme_light/static/css/theme_zen_white.css
-
12theme_light/static/css/theme_zen_yellow.css
-
411theme_light/views/layout_template.xml
-
1website_recaptcha_reloaded/readme/CONTRIBUTORS.rst
-
2website_recaptcha_reloaded/views/res_config.xml
@ -1,3 +1,3 @@ |
|||||
from . import models |
|
||||
from . import report |
|
||||
from . import wizard |
|
||||
|
from . import models |
||||
|
from . import report |
||||
|
from . import wizard |
@ -1,43 +1,43 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<openerp> |
|
||||
<data noupdate="1"> |
|
||||
<record model="ir.module.category" id="module_category_cooperator_management"> |
|
||||
<field name="name">Cooperative Management</field> |
|
||||
<field name="description">Manage your cooperative.</field> |
|
||||
<field name="sequence">3</field> |
|
||||
</record> |
|
||||
|
|
||||
<!-- Product --> |
|
||||
<record id="product_category_company_share" model="product.category"> |
|
||||
<field name="name">Company Share</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="sequence_subscription_journal" model="ir.sequence"> |
|
||||
<field name="name">Account Default Subscription Journal</field> |
|
||||
<field eval="3" name="padding"/> |
|
||||
<field name="prefix">SUBJ/%(year)s/</field> |
|
||||
<field name="use_date_range">True</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="subscription_journal" model="account.journal"> |
|
||||
<field name="name">Subscription Journal</field> |
|
||||
<field name="code">SUBJ</field> |
|
||||
<field name="type">sale</field> |
|
||||
<field name="sequence_id" ref="sequence_subscription_journal"/> |
|
||||
</record> |
|
||||
|
|
||||
<record id="sequence_subscription" model="ir.sequence"> |
|
||||
<field name="name">Subscription Register</field> |
|
||||
<field name="code">subscription.register</field> |
|
||||
<field eval="1" name="number_next"/> |
|
||||
<field eval="1" name="number_increment"/> |
|
||||
</record> |
|
||||
|
|
||||
<record id="sequence_register_operation" model="ir.sequence"> |
|
||||
<field name="name">Register Operation</field> |
|
||||
<field name="code">register.operation</field> |
|
||||
<field eval="1" name="number_next"/> |
|
||||
<field eval="1" name="number_increment"/> |
|
||||
</record> |
|
||||
</data> |
|
||||
</openerp> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data noupdate="1"> |
||||
|
<record model="ir.module.category" id="module_category_cooperator_management"> |
||||
|
<field name="name">Cooperative Management</field> |
||||
|
<field name="description">Manage your cooperative.</field> |
||||
|
<field name="sequence">3</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- Product --> |
||||
|
<record id="product_category_company_share" model="product.category"> |
||||
|
<field name="name">Company Share</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="sequence_subscription_journal" model="ir.sequence"> |
||||
|
<field name="name">Account Default Subscription Journal</field> |
||||
|
<field eval="3" name="padding"/> |
||||
|
<field name="prefix">SUBJ/%(year)s/</field> |
||||
|
<field name="use_date_range">True</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="subscription_journal" model="account.journal"> |
||||
|
<field name="name">Subscription Journal</field> |
||||
|
<field name="code">SUBJ</field> |
||||
|
<field name="type">sale</field> |
||||
|
<field name="sequence_id" ref="sequence_subscription_journal"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="sequence_subscription" model="ir.sequence"> |
||||
|
<field name="name">Subscription Register</field> |
||||
|
<field name="code">subscription.register</field> |
||||
|
<field eval="1" name="number_next"/> |
||||
|
<field eval="1" name="number_increment"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="sequence_register_operation" model="ir.sequence"> |
||||
|
<field name="name">Register Operation</field> |
||||
|
<field name="code">register.operation</field> |
||||
|
<field eval="1" name="number_next"/> |
||||
|
<field eval="1" name="number_increment"/> |
||||
|
</record> |
||||
|
</data> |
||||
|
</openerp> |
@ -1,443 +1,443 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<!-- Mail template are declared in a NOUPDATE block |
|
||||
so users can freely customize/delete them --> |
|
||||
<data noupdate="1"> |
|
||||
<!--Request to release capital Email template --> |
|
||||
<record id="email_template_release_capital" model="mail.template"> |
|
||||
<field name="name">Request to Release Capital - Send by Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">${object.company_id.name} Request to Release Capital (Ref ${object.number or 'n/a'})</field> |
|
||||
<field name="partner_to">${object.partner_id.id}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="account.model_account_invoice"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="report_template" ref="action_cooperator_invoices"/> |
|
||||
<field name="report_name">${(object.number or '').replace('/','_')}_${object.state == 'draft' and 'draft' or ''}</field> |
|
||||
<field name="lang">${object.partner_id.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.partner_id.name},</p> |
|
||||
|
|
||||
<p>You will find in attachment all the necessary information for the payment. We kindly remind you that your subscription will be effective only once we received the payment.</p> |
|
||||
|
|
||||
<p>Do not forget to add the structured communication to the payment.</p> |
|
||||
|
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_confirmation" model="mail.template"> |
|
||||
<field name="name">Confirmation Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Subscription request confirmation</field> |
|
||||
<field name="email_to">${object.email}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_subscription_request"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>Your request will be soon processed by our team. If all the provided info are correct you will soon receive the payment information in another email</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>If you have any question, do not hesitate to contact us.</p> |
|
||||
<br/> |
|
||||
|
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_waiting_list" model="mail.template"> |
|
||||
<field name="name">Waiting List Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Subscription request added on waiting list. </field> |
|
||||
<field name="email_to">${object.email}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_subscription_request"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>Thank you for your subscription request. There are currently no project to raise funds for, thus we added it on waiting list. |
|
||||
We will contact you as soon as the subscription requests are re-opened. |
|
||||
</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>If you have any question, do not hesitate to contact us.</p> |
|
||||
<br/> |
|
||||
|
|
||||
<p>Sustainably yours,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_confirmation_company" model="mail.template"> |
|
||||
<field name="name">Company Confirmation Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Subscription request confirmation</field> |
|
||||
<field name="email_to">${object.email},${object.company_email}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_subscription_request"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>We have received your subscription request for ${object.company_id.name}. Thank you for your support.</p> |
|
||||
|
|
||||
<p>Your request will be soon processed by our team "gestion et participation des membres". If all the provided info are correct you will soon receive the payment information in another email</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>If you have any question, do not hesitate to contact us.</p> |
|
||||
<br/> |
|
||||
|
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_certificat" model="mail.template"> |
|
||||
<field name="name">Payment Received Confirmation - Send By Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Payment Received Confirmation</field> |
|
||||
<field name="partner_to">${object.id}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_res_partner"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="report_template" ref="action_cooperator_report_certificat"/> |
|
||||
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>We confirm the reception of you payment. You are now shareholder of our cooperative</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
|
||||
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
|
||||
<br/> |
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_certificat_increase" model="mail.template"> |
|
||||
<field name="name">Share Increase - Payment Received Confirmation - Send By Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Payment Received Confirmation</field> |
|
||||
<field name="partner_to">${object.id}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_res_partner"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="report_template" ref="action_cooperator_report_certificat"/> |
|
||||
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>We confirm the reception of you payment for the new share(s) you have taken.</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
|
||||
<p>Thank you for trusting ${object.company_id.name or 'us'}!</p> |
|
||||
<br/> |
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_share_transfer" model="mail.template"> |
|
||||
<field name="name">Share transfer - Send By Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Share transfert</field> |
|
||||
<field name="partner_to">${object.id}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_res_partner"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="report_template" ref="action_cooperator_report_certificat"/> |
|
||||
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>We confirm you that the shares have been transfered to you. If you was not already cooperator, you are now shareholder of our cooperative</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
|
||||
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
|
||||
<br/> |
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="email_template_share_update" model="mail.template"> |
|
||||
<field name="name">Share update - Send By Email</field> |
|
||||
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="subject">Share update</field> |
|
||||
<field name="partner_to">${object.id}</field> |
|
||||
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
|
||||
<field name="model_id" ref="model_res_partner"/> |
|
||||
<field name="auto_delete" eval="True"/> |
|
||||
<field name="report_template" ref="action_cooperator_report_certificat"/> |
|
||||
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
|
||||
<field name="lang">${object.lang}</field> |
|
||||
<field name="easy_my_coop" eval="True"/> |
|
||||
<field name="body_html"><![CDATA[ |
|
||||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
|
||||
|
|
||||
<p>Hello ${object.name},</p> |
|
||||
|
|
||||
<p>We confirm you that the adaptation on shares portfolio has been succesfully performed. Your cooperator certificate has been adapted accordingly</p> |
|
||||
|
|
||||
<br/> |
|
||||
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
|
||||
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
|
||||
<br/> |
|
||||
<p>Sustainably your,</p> |
|
||||
<p>${object.company_id.name}.</p> |
|
||||
|
|
||||
% if object.company_id.street: |
|
||||
${object.company_id.street} |
|
||||
% endif |
|
||||
% if object.company_id.street2: |
|
||||
${object.company_id.street2}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.city or object.company_id.zip: |
|
||||
${object.company_id.zip} ${object.company_id.city}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.country_id: |
|
||||
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
|
||||
% endif |
|
||||
% if object.company_id.phone: |
|
||||
Phone: ${object.company_id.phone} |
|
||||
% endif |
|
||||
|
|
||||
% if object.company_id.website: |
|
||||
<div> |
|
||||
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
|
||||
</div> |
|
||||
%endif |
|
||||
|
|
||||
<div> |
|
||||
<img src=${object.company_id.logo_url}> |
|
||||
</div> |
|
||||
</div> |
|
||||
]]></field> |
|
||||
</record> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Mail template are declared in a NOUPDATE block |
||||
|
so users can freely customize/delete them --> |
||||
|
<data noupdate="1"> |
||||
|
<!--Request to release capital Email template --> |
||||
|
<record id="email_template_release_capital" model="mail.template"> |
||||
|
<field name="name">Request to Release Capital - Send by Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">${object.company_id.name} Request to Release Capital (Ref ${object.number or 'n/a'})</field> |
||||
|
<field name="partner_to">${object.partner_id.id}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="account.model_account_invoice"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="report_template" ref="action_cooperator_invoices"/> |
||||
|
<field name="report_name">${(object.number or '').replace('/','_')}_${object.state == 'draft' and 'draft' or ''}</field> |
||||
|
<field name="lang">${object.partner_id.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.partner_id.name},</p> |
||||
|
|
||||
|
<p>You will find in attachment all the necessary information for the payment. We kindly remind you that your subscription will be effective only once we received the payment.</p> |
||||
|
|
||||
|
<p>Do not forget to add the structured communication to the payment.</p> |
||||
|
|
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_confirmation" model="mail.template"> |
||||
|
<field name="name">Confirmation Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Subscription request confirmation</field> |
||||
|
<field name="email_to">${object.email}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_subscription_request"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>Your request will be soon processed by our team. If all the provided info are correct you will soon receive the payment information in another email</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>If you have any question, do not hesitate to contact us.</p> |
||||
|
<br/> |
||||
|
|
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_waiting_list" model="mail.template"> |
||||
|
<field name="name">Waiting List Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Subscription request added on waiting list. </field> |
||||
|
<field name="email_to">${object.email}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_subscription_request"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>Thank you for your subscription request. There are currently no project to raise funds for, thus we added it on waiting list. |
||||
|
We will contact you as soon as the subscription requests are re-opened. |
||||
|
</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>If you have any question, do not hesitate to contact us.</p> |
||||
|
<br/> |
||||
|
|
||||
|
<p>Sustainably yours,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_confirmation_company" model="mail.template"> |
||||
|
<field name="name">Company Confirmation Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Subscription request confirmation</field> |
||||
|
<field name="email_to">${object.email},${object.company_email}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_subscription_request"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>We have received your subscription request for ${object.company_id.name}. Thank you for your support.</p> |
||||
|
|
||||
|
<p>Your request will be soon processed by our team "gestion et participation des membres". If all the provided info are correct you will soon receive the payment information in another email</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>If you have any question, do not hesitate to contact us.</p> |
||||
|
<br/> |
||||
|
|
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_certificat" model="mail.template"> |
||||
|
<field name="name">Payment Received Confirmation - Send By Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Payment Received Confirmation</field> |
||||
|
<field name="partner_to">${object.id}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_res_partner"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="report_template" ref="action_cooperator_report_certificat"/> |
||||
|
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>We confirm the reception of you payment. You are now shareholder of our cooperative</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
||||
|
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
||||
|
<br/> |
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_certificat_increase" model="mail.template"> |
||||
|
<field name="name">Share Increase - Payment Received Confirmation - Send By Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Payment Received Confirmation</field> |
||||
|
<field name="partner_to">${object.id}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_res_partner"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="report_template" ref="action_cooperator_report_certificat"/> |
||||
|
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>We confirm the reception of you payment for the new share(s) you have taken.</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
||||
|
<p>Thank you for trusting ${object.company_id.name or 'us'}!</p> |
||||
|
<br/> |
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_share_transfer" model="mail.template"> |
||||
|
<field name="name">Share transfer - Send By Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Share transfert</field> |
||||
|
<field name="partner_to">${object.id}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_res_partner"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="report_template" ref="action_cooperator_report_certificat"/> |
||||
|
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>We confirm you that the shares have been transfered to you. If you was not already cooperator, you are now shareholder of our cooperative</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
||||
|
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
||||
|
<br/> |
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="email_template_share_update" model="mail.template"> |
||||
|
<field name="name">Share update - Send By Email</field> |
||||
|
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="subject">Share update</field> |
||||
|
<field name="partner_to">${object.id}</field> |
||||
|
<field name="reply_to">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> |
||||
|
<field name="model_id" ref="model_res_partner"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="report_template" ref="action_cooperator_report_certificat"/> |
||||
|
<field name="report_name">Certificat ${(object.cooperator_register_number or '')}</field> |
||||
|
<field name="lang">${object.lang}</field> |
||||
|
<field name="easy_my_coop" eval="True"/> |
||||
|
<field name="body_html"><![CDATA[ |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
|
||||
|
<p>Hello ${object.name},</p> |
||||
|
|
||||
|
<p>We confirm you that the adaptation on shares portfolio has been succesfully performed. Your cooperator certificate has been adapted accordingly</p> |
||||
|
|
||||
|
<br/> |
||||
|
<p>Find in attachment your ${object.company_id.name} certificate.</p> |
||||
|
<p>Thank you for choosing ${object.company_id.name or 'us'}!</p> |
||||
|
<br/> |
||||
|
<p>Sustainably your,</p> |
||||
|
<p>${object.company_id.name}.</p> |
||||
|
|
||||
|
% if object.company_id.street: |
||||
|
${object.company_id.street} |
||||
|
% endif |
||||
|
% if object.company_id.street2: |
||||
|
${object.company_id.street2}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.city or object.company_id.zip: |
||||
|
${object.company_id.zip} ${object.company_id.city}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.country_id: |
||||
|
${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}<br/> |
||||
|
% endif |
||||
|
% if object.company_id.phone: |
||||
|
Phone: ${object.company_id.phone} |
||||
|
% endif |
||||
|
|
||||
|
% if object.company_id.website: |
||||
|
<div> |
||||
|
Web : <a href="${object.company_id.website}">${object.company_id.website}</a> |
||||
|
</div> |
||||
|
%endif |
||||
|
|
||||
|
<div> |
||||
|
<img src=${object.company_id.logo_url}> |
||||
|
</div> |
||||
|
</div> |
||||
|
]]></field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,16 +1,16 @@ |
|||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
|
||||
access_product_product_easy_my_coop_user,access_product_product_easy_my_coop_user,product.model_product_product,group_easy_my_coop_user,1,1,0,0 |
|
||||
access_product_product_easy_my_coop_manager,access_product_product_easy_my_coop_manager,product.model_product_product,group_easy_my_coop_manager,1,1,1,1 |
|
||||
access_product_template_easy_my_coop_user,access_product_template_easy_my_coop_user,product.model_product_template,group_easy_my_coop_user,1,1,0,0 |
|
||||
access_product_template_easy_my_coop_manager,access_product_template_easy_my_coop_manager,product.model_product_template,group_easy_my_coop_manager,1,1,1,1 |
|
||||
access_subscription_request_user,access_subscription_request_user.subscription,model_subscription_request,base.group_user,1,0,0,0 |
|
||||
access_subscription_request_easy_my_coop_user,access_subscription_request_easy_my_coop_user,model_subscription_request,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_subscription_request_easy_my_coop_manager,access_subscription_request_easy_my_coop_manager,model_subscription_request,group_easy_my_coop_manager,1,1,1,1 |
|
||||
access_share_line_user,access_share_line_user,model_share_line,base.group_user,1,0,0,0 |
|
||||
access_share_line_easy_my_coop_user,access_share_line_easy_my_coop_user,model_share_line,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_share_line_easy_my_coop_manager,access_share_line_easy_my_coop_manager,model_share_line,group_easy_my_coop_manager,1,1,1,1 |
|
||||
access_res_partner_easy_my_coop_user,access_res_partner_easy_my_coop_user,base.model_res_partner,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_account_invoice_easy_my_coop_user,access_account_invoice_easy_my_coop_user,model_account_invoice,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_subscription_register_easy_my_coop_user,access_subscription_register_easy_my_coop_user,model_subscription_register,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_operation_request_easy_my_coop_user,access_operation_request_easy_my_coop_user,model_operation_request,group_easy_my_coop_user,1,1,1,0 |
|
||||
access_operation_request_easy_my_coop_manager,access_operation_request_easy_my_coop_manager,model_operation_request,group_easy_my_coop_manager,1,1,1,1 |
|
||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
||||
|
access_product_product_easy_my_coop_user,access_product_product_easy_my_coop_user,product.model_product_product,group_easy_my_coop_user,1,1,0,0 |
||||
|
access_product_product_easy_my_coop_manager,access_product_product_easy_my_coop_manager,product.model_product_product,group_easy_my_coop_manager,1,1,1,1 |
||||
|
access_product_template_easy_my_coop_user,access_product_template_easy_my_coop_user,product.model_product_template,group_easy_my_coop_user,1,1,0,0 |
||||
|
access_product_template_easy_my_coop_manager,access_product_template_easy_my_coop_manager,product.model_product_template,group_easy_my_coop_manager,1,1,1,1 |
||||
|
access_subscription_request_user,access_subscription_request_user.subscription,model_subscription_request,base.group_user,1,0,0,0 |
||||
|
access_subscription_request_easy_my_coop_user,access_subscription_request_easy_my_coop_user,model_subscription_request,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_subscription_request_easy_my_coop_manager,access_subscription_request_easy_my_coop_manager,model_subscription_request,group_easy_my_coop_manager,1,1,1,1 |
||||
|
access_share_line_user,access_share_line_user,model_share_line,base.group_user,1,0,0,0 |
||||
|
access_share_line_easy_my_coop_user,access_share_line_easy_my_coop_user,model_share_line,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_share_line_easy_my_coop_manager,access_share_line_easy_my_coop_manager,model_share_line,group_easy_my_coop_manager,1,1,1,1 |
||||
|
access_res_partner_easy_my_coop_user,access_res_partner_easy_my_coop_user,base.model_res_partner,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_account_invoice_easy_my_coop_user,access_account_invoice_easy_my_coop_user,model_account_invoice,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_subscription_register_easy_my_coop_user,access_subscription_register_easy_my_coop_user,model_subscription_register,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_operation_request_easy_my_coop_user,access_operation_request_easy_my_coop_user,model_operation_request,group_easy_my_coop_user,1,1,1,0 |
||||
|
access_operation_request_easy_my_coop_manager,access_operation_request_easy_my_coop_manager,model_operation_request,group_easy_my_coop_manager,1,1,1,1 |
@ -1,27 +1,27 @@ |
|||||
.border-top-easymy-coop td { |
|
||||
border-top: 1pt solid #e7511e !important; |
|
||||
} |
|
||||
|
|
||||
.border-easymy-coop th { |
|
||||
border-bottom: 1pt solid #e7511e !important; |
|
||||
} |
|
||||
|
|
||||
.border-top-easymy-coop-cert td { |
|
||||
border-top: 1pt solid #fcc300 !important; |
|
||||
} |
|
||||
|
|
||||
.border-easymy-coop-cert th { |
|
||||
border-bottom: 1pt solid #fcc300 !important; |
|
||||
} |
|
||||
|
|
||||
.easymy-coop-normal { |
|
||||
font-family:Roboto-Regular; |
|
||||
font-size:12pt; |
|
||||
line-height:16pt; |
|
||||
} |
|
||||
|
|
||||
.easymy-coop-info-title { |
|
||||
font-family:Roboto-Bold; |
|
||||
font-size:12pt; |
|
||||
line-height:16pt; |
|
||||
} |
|
||||
|
.border-top-easymy-coop td { |
||||
|
border-top: 1pt solid #e7511e !important; |
||||
|
} |
||||
|
|
||||
|
.border-easymy-coop th { |
||||
|
border-bottom: 1pt solid #e7511e !important; |
||||
|
} |
||||
|
|
||||
|
.border-top-easymy-coop-cert td { |
||||
|
border-top: 1pt solid #fcc300 !important; |
||||
|
} |
||||
|
|
||||
|
.border-easymy-coop-cert th { |
||||
|
border-bottom: 1pt solid #fcc300 !important; |
||||
|
} |
||||
|
|
||||
|
.easymy-coop-normal { |
||||
|
font-family:Roboto-Regular; |
||||
|
font-size:12pt; |
||||
|
line-height:16pt; |
||||
|
} |
||||
|
|
||||
|
.easymy-coop-info-title { |
||||
|
font-family:Roboto-Bold; |
||||
|
font-size:12pt; |
||||
|
line-height:16pt; |
||||
|
} |
@ -1,52 +1,52 @@ |
|||||
odoo.define('easy_my_coop.oe_easymy_coop', function (require) { |
odoo.define('easy_my_coop.oe_easymy_coop', function (require) { |
||||
$(document).ready(function () { |
|
||||
"use strict"; |
|
||||
var ajax = require('web.ajax'); |
|
||||
|
|
||||
$('.oe_easymy_coop').each(function () { |
|
||||
|
$(document).ready(function () { |
||||
|
"use strict"; |
||||
|
var ajax = require('web.ajax'); |
||||
|
|
||||
|
$('.oe_easymy_coop').each(function () { |
||||
var oe_easymy_coop = this; |
var oe_easymy_coop = this; |
||||
|
|
||||
|
|
||||
$('#share_product_id').change(function () { |
$('#share_product_id').change(function () { |
||||
var share_product_id = $("#share_product_id").val(); |
var share_product_id = $("#share_product_id").val(); |
||||
ajax.jsonRpc("/subscription/get_share_product", 'call', { |
ajax.jsonRpc("/subscription/get_share_product", 'call', { |
||||
'share_product_id': share_product_id |
|
||||
|
'share_product_id': share_product_id, |
||||
}) |
}) |
||||
.then(function (data) { |
.then(function (data) { |
||||
$('#share_price').text(data[share_product_id].list_price); |
|
||||
$('input.js_quantity').val(data[share_product_id].min_qty); |
|
||||
if(data[share_product_id].force_min_qty == true){ |
|
||||
$('input.js_quantity').data("min",data[share_product_id].min_qty); |
|
||||
} |
|
||||
$('input.js_quantity').change(); |
|
||||
var $share_price = $('#share_price').text() |
|
||||
$('input[name="total_parts"]').val($('input.js_quantity').val()*$share_price); |
|
||||
$('input[name="total_parts"]').change(); |
|
||||
|
$('#share_price').text(data[share_product_id].list_price); |
||||
|
$('input.js_quantity').val(data[share_product_id].min_qty); |
||||
|
if (data[share_product_id].force_min_qty == true) { |
||||
|
$('input.js_quantity').data("min", data[share_product_id].min_qty); |
||||
|
} |
||||
|
$('input.js_quantity').change(); |
||||
|
var $share_price = $('#share_price').text(); |
||||
|
$('input[name="total_parts"]').val($('input.js_quantity').val()*$share_price); |
||||
|
$('input[name="total_parts"]').change(); |
||||
}); |
}); |
||||
}); |
}); |
||||
|
|
||||
|
|
||||
$(oe_easymy_coop).on('click', 'a.js_add_cart_json', function (ev) { |
$(oe_easymy_coop).on('click', 'a.js_add_cart_json', function (ev) { |
||||
var $share_price = $('#share_price').text() |
|
||||
|
var $share_price = $('#share_price').text(); |
||||
var $link = $(ev.currentTarget); |
var $link = $(ev.currentTarget); |
||||
var $input = $link.parent().parent().find("input"); |
var $input = $link.parent().parent().find("input"); |
||||
var $input_total = $("div").find(".total"); |
var $input_total = $("div").find(".total"); |
||||
var min = parseFloat($input.data("min") || 1); |
var min = parseFloat($input.data("min") || 1); |
||||
var amount_max = parseFloat($('input[name="total_parts"]').data("max")); |
var amount_max = parseFloat($('input[name="total_parts"]').data("max")); |
||||
var quantity = ($link.has(".fa-minus").length ? -1 : 1) + parseFloat($input.val(),10); |
|
||||
|
var quantity = ($link.has(".fa-minus").length ? -1 : 1) + parseFloat($input.val(), 10); |
||||
var total_part = quantity * $share_price; |
var total_part = quantity * $share_price; |
||||
var quantity_max = amount_max / $share_price; |
var quantity_max = amount_max / $share_price; |
||||
$input.val(quantity > min ? (total_part <= amount_max ? quantity : quantity_max) : min); |
|
||||
|
$input.val(quantity > min ? total_part <= amount_max ? quantity : quantity_max : min); |
||||
$input.change(); |
$input.change(); |
||||
$('input[name="total_parts"]').val($input.val()*$share_price); |
$('input[name="total_parts"]').val($input.val()*$share_price); |
||||
return false; |
return false; |
||||
}); |
}); |
||||
|
|
||||
|
|
||||
$(oe_easymy_coop).on('focusout', 'input.js_quantity', function (ev) { |
$(oe_easymy_coop).on('focusout', 'input.js_quantity', function (ev) { |
||||
$('a.js_add_cart_json').trigger('click'); |
$('a.js_add_cart_json').trigger('click'); |
||||
}); |
}); |
||||
|
|
||||
|
|
||||
$('#share_product_id').trigger('change'); |
$('#share_product_id').trigger('change'); |
||||
|
|
||||
|
|
||||
$("[name='birthdate']").inputmask(); |
$("[name='birthdate']").inputmask(); |
||||
}); |
|
||||
|
}); |
||||
|
}); |
||||
}); |
}); |
||||
}); |
|
2720
easy_my_coop/static/src/js/jquery.inputmask.bundle.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,73 +1,73 @@ |
|||||
<odoo> |
|
||||
<record id="invoice_form" model="ir.ui.view"> |
|
||||
<field name="name">account.invoice.form</field> |
|
||||
<field name="model">account.invoice</field> |
|
||||
<field name="inherit_id" ref="account.invoice_form" /> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="move_id" position="after"> |
|
||||
<field name="subscription_request" /> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_invoice_tree_coop" model="ir.actions.act_window"> |
|
||||
<field name="name">Cooperator Invoices</field> |
|
||||
<field name="res_model">account.invoice</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|
||||
<field eval="False" name="view_id"/> |
|
||||
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field> |
|
||||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|
||||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="o_view_nocontent_smiling_face"> |
|
||||
Create a customer invoice |
|
||||
</p><p> |
|
||||
Create invoices, register payments and keep track of the discussions with your customers. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_invoice_tree1_view1" model="ir.actions.act_window.view"> |
|
||||
<field eval="1" name="sequence"/> |
|
||||
<field name="view_mode">tree</field> |
|
||||
<field name="view_id" ref="account.invoice_tree"/> |
|
||||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_invoice_tree1_view2" model="ir.actions.act_window.view"> |
|
||||
<field eval="2" name="sequence"/> |
|
||||
<field name="view_mode">form</field> |
|
||||
<field name="view_id" ref="account.invoice_form"/> |
|
||||
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
|
||||
</record> |
|
||||
|
|
||||
<record id="account.action_invoice_tree1" model="ir.actions.act_window"> |
|
||||
<field name="name">Customer Invoices</field> |
|
||||
<field name="res_model">account.invoice</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
|
||||
<field eval="False" name="view_id"/> |
|
||||
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',False)]</field> |
|
||||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|
||||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="o_view_nocontent_smiling_face"> |
|
||||
Create a customer invoice |
|
||||
</p><p> |
|
||||
Create invoices, register payments and keep track of the discussions with your customers. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="account.action_invoice_refund_out_tree" model="ir.actions.act_window"> |
|
||||
<field name="name">Invoices</field> |
|
||||
<field name="res_model">account.invoice</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> |
|
||||
<field name="view_id" ref="account.invoice_tree"/> |
|
||||
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']),('release_capital_request','=',False)]</field> |
|
||||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
|
||||
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<odoo> |
||||
|
<record id="invoice_form" model="ir.ui.view"> |
||||
|
<field name="name">account.invoice.form</field> |
||||
|
<field name="model">account.invoice</field> |
||||
|
<field name="inherit_id" ref="account.invoice_form" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="move_id" position="after"> |
||||
|
<field name="subscription_request" /> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="action_invoice_tree_coop" model="ir.actions.act_window"> |
||||
|
<field name="name">Cooperator Invoices</field> |
||||
|
<field name="res_model">account.invoice</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
||||
|
<field eval="False" name="view_id"/> |
||||
|
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',True)]</field> |
||||
|
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
||||
|
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create a customer invoice |
||||
|
</p><p> |
||||
|
Create invoices, register payments and keep track of the discussions with your customers. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="action_invoice_tree1_view1" model="ir.actions.act_window.view"> |
||||
|
<field eval="1" name="sequence"/> |
||||
|
<field name="view_mode">tree</field> |
||||
|
<field name="view_id" ref="account.invoice_tree"/> |
||||
|
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="action_invoice_tree1_view2" model="ir.actions.act_window.view"> |
||||
|
<field eval="2" name="sequence"/> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="view_id" ref="account.invoice_form"/> |
||||
|
<field name="act_window_id" ref="action_invoice_tree_coop"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="account.action_invoice_tree1" model="ir.actions.act_window"> |
||||
|
<field name="name">Customer Invoices</field> |
||||
|
<field name="res_model">account.invoice</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">tree,kanban,form,calendar,pivot,graph,activity</field> |
||||
|
<field eval="False" name="view_id"/> |
||||
|
<field name="domain">[('type','in',('out_invoice', 'out_refund')),('release_capital_request','=',False)]</field> |
||||
|
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
||||
|
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Create a customer invoice |
||||
|
</p><p> |
||||
|
Create invoices, register payments and keep track of the discussions with your customers. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="account.action_invoice_refund_out_tree" model="ir.actions.act_window"> |
||||
|
<field name="name">Invoices</field> |
||||
|
<field name="res_model">account.invoice</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">tree,form,kanban,calendar,graph,pivot</field> |
||||
|
<field name="view_id" ref="account.invoice_tree"/> |
||||
|
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel']),('release_capital_request','=',False)]</field> |
||||
|
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field> |
||||
|
<field name="search_view_id" ref="account.view_account_invoice_filter"/> |
||||
|
</record> |
||||
|
</odoo> |
@ -1,26 +1,26 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<record id="view_account_journal_form_coop" model="ir.ui.view"> |
|
||||
<field name="name">account.journal.form</field> |
|
||||
<field name="model">account.journal</field> |
|
||||
<field name="inherit_id" ref="account.view_account_journal_form"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="bank_id" position="after"> |
|
||||
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|
||||
<field name="get_general_payment"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_account_bank_journal_form_coop" model="ir.ui.view"> |
|
||||
<field name="name">account.bank.journal.form</field> |
|
||||
<field name="model">account.journal</field> |
|
||||
<field name="inherit_id" ref="account.view_account_bank_journal_form"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="currency_id" position="after"> |
|
||||
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|
||||
<field name="get_general_payment"/> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record id="view_account_journal_form_coop" model="ir.ui.view"> |
||||
|
<field name="name">account.journal.form</field> |
||||
|
<field name="model">account.journal</field> |
||||
|
<field name="inherit_id" ref="account.view_account_journal_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="bank_id" position="after"> |
||||
|
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
||||
|
<field name="get_general_payment"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_account_bank_journal_form_coop" model="ir.ui.view"> |
||||
|
<field name="name">account.bank.journal.form</field> |
||||
|
<field name="model">account.journal</field> |
||||
|
<field name="inherit_id" ref="account.view_account_bank_journal_form"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="currency_id" position="after"> |
||||
|
<field name="get_cooperator_payment" groups="easy_my_coop.group_easy_my_coop_manager"/> |
||||
|
<field name="get_general_payment"/> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -1,77 +1,77 @@ |
|||||
<odoo> |
|
||||
<record id="subscription_register_tree" model="ir.ui.view"> |
|
||||
<field name="name">subscription.register.tree</field> |
|
||||
<field name="model">subscription.register</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="Subscription Register"> |
|
||||
<field name="register_number_operation"/> |
|
||||
<field name="date"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_short_name"/> |
|
||||
<field name="quantity" sum="Total quantity"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="total_amount_line" sum="Total amount"/> |
|
||||
<field name="type"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="subscription_register_form" model="ir.ui.view"> |
|
||||
<field name="name">subscription.register.form</field> |
|
||||
<field name="model">subscription.register</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Subscription Register"> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="register_number_operation"/> |
|
||||
<field name="date"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_short_name"/> |
|
||||
<field name="quantity"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="total_amount_line"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="partner_id_to" attrs="{'invisible':[('type','!=','transfer')]}"/> |
|
||||
<field name="type"/> |
|
||||
<field name="share_to_short_name"/> |
|
||||
<field name="quantity_to"/> |
|
||||
<field name="share_to_unit_price"/> |
|
||||
<field name="user_id" invisible="True"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_subscription_register_filter" model="ir.ui.view"> |
|
||||
<field name="name">Subscription Register Search</field> |
|
||||
<field name="model">subscription.register</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<search string="Search Subscription Register"> |
|
||||
<field name="partner_id" |
|
||||
filter_domain="[('partner_id','ilike',self)]"/> |
|
||||
<field name="register_number_operation"/> |
|
||||
<separator/> |
|
||||
<filter string="Subscription" name="type_subscription" domain="[('type','=','subscription')]"/> |
|
||||
<filter string="Transfer" name="type_transfer" domain="[('type','=','transfer')]"/> |
|
||||
<filter string="Sell back" name="type_sell_back" domain="[('type','=','sell_back')]"/> |
|
||||
<filter string="Convert" name="type_convert" domain="[('type','=','convert')]"/> |
|
||||
<separator/> |
|
||||
<group expand="0" name="group_by" string="Group By"> |
|
||||
<filter name="entry_type" string="Entry type" context="{'group_by' : 'type'}" /> |
|
||||
<filter name="subscription_date" string="Subscription Date" context="{'group_by': 'date'}"/> |
|
||||
</group> |
|
||||
</search> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="subscription_register_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Subscription Register</field> |
|
||||
<field name="res_model">subscription.register</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="subscription_register_tree"/> |
|
||||
<field name="search_view_id" ref="view_subscription_register_filter"/> |
|
||||
</record> |
|
||||
|
|
||||
</odoo> |
|
||||
|
<odoo> |
||||
|
<record id="subscription_register_tree" model="ir.ui.view"> |
||||
|
<field name="name">subscription.register.tree</field> |
||||
|
<field name="model">subscription.register</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Subscription Register"> |
||||
|
<field name="register_number_operation"/> |
||||
|
<field name="date"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_short_name"/> |
||||
|
<field name="quantity" sum="Total quantity"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="total_amount_line" sum="Total amount"/> |
||||
|
<field name="type"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="subscription_register_form" model="ir.ui.view"> |
||||
|
<field name="name">subscription.register.form</field> |
||||
|
<field name="model">subscription.register</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Subscription Register"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="register_number_operation"/> |
||||
|
<field name="date"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_short_name"/> |
||||
|
<field name="quantity"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="total_amount_line"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="partner_id_to" attrs="{'invisible':[('type','!=','transfer')]}"/> |
||||
|
<field name="type"/> |
||||
|
<field name="share_to_short_name"/> |
||||
|
<field name="quantity_to"/> |
||||
|
<field name="share_to_unit_price"/> |
||||
|
<field name="user_id" invisible="True"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_subscription_register_filter" model="ir.ui.view"> |
||||
|
<field name="name">Subscription Register Search</field> |
||||
|
<field name="model">subscription.register</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Search Subscription Register"> |
||||
|
<field name="partner_id" |
||||
|
filter_domain="[('partner_id','ilike',self)]"/> |
||||
|
<field name="register_number_operation"/> |
||||
|
<separator/> |
||||
|
<filter string="Subscription" name="type_subscription" domain="[('type','=','subscription')]"/> |
||||
|
<filter string="Transfer" name="type_transfer" domain="[('type','=','transfer')]"/> |
||||
|
<filter string="Sell back" name="type_sell_back" domain="[('type','=','sell_back')]"/> |
||||
|
<filter string="Convert" name="type_convert" domain="[('type','=','convert')]"/> |
||||
|
<separator/> |
||||
|
<group expand="0" name="group_by" string="Group By"> |
||||
|
<filter name="entry_type" string="Entry type" context="{'group_by' : 'type'}" /> |
||||
|
<filter name="subscription_date" string="Subscription Date" context="{'group_by': 'date'}"/> |
||||
|
</group> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="subscription_register_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Subscription Register</field> |
||||
|
<field name="res_model">subscription.register</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="subscription_register_tree"/> |
||||
|
<field name="search_view_id" ref="view_subscription_register_filter"/> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -1,15 +1,15 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
|
|
||||
<record model="ir.actions.act_window" |
|
||||
id="action_easy_my_coop_email_templates"> |
|
||||
<field name="name">Mail Templates</field> |
|
||||
<field name="res_model">mail.template</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">form,tree</field> |
|
||||
<field name="domain">[('easy_my_coop','=',True)]</field> |
|
||||
<field name="view_id" ref="mail.email_template_tree" /> |
|
||||
<field name="search_view_id" ref="mail.view_email_template_search" /> |
|
||||
</record> |
|
||||
|
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
|
||||
|
<record model="ir.actions.act_window" |
||||
|
id="action_easy_my_coop_email_templates"> |
||||
|
<field name="name">Mail Templates</field> |
||||
|
<field name="res_model">mail.template</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form,tree</field> |
||||
|
<field name="domain">[('easy_my_coop','=',True)]</field> |
||||
|
<field name="view_id" ref="mail.email_template_tree" /> |
||||
|
<field name="search_view_id" ref="mail.view_email_template_search" /> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -1,105 +1,105 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<odoo> |
|
||||
<record id="operation_request_tree" model="ir.ui.view"> |
|
||||
<field name="name">operation.request.tree</field> |
|
||||
<field name="model">operation.request</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="Operation requests" colors="green:state in ('approved'); blue:state in ('draft');grey: state in ('done')"> |
|
||||
<field name="request_date"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="operation_type"/> |
|
||||
<field name="quantity"/> |
|
||||
<field name="user_id"/> |
|
||||
<field name="state"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="operation_request_form" model="ir.ui.view"> |
|
||||
<field name="name">operation.request.form</field> |
|
||||
<field name="model">operation.request</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Operation request"> |
|
||||
<header> |
|
||||
<button string="Submit" type="object" name="submit_operation" states="draft"/> |
|
||||
<button string="Approve" type="object" name="approve_operation" states="waiting"/> |
|
||||
<button string="Refuse" type="object" name="refuse_operation" states="waiting"/> |
|
||||
<button string="Cancel" type="object" name="cancel_operation" states="draft,waiting,approved"/> |
|
||||
<button string="Draft" type="object" name="reset_to_draft" states="waiting,cancelled"/> |
|
||||
<button string="Execute" type="object" name="execute_operation" states="approved"/> |
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,done,cancelled,refused" statusbar_colors='{"draft":"grey","done":"green","cancelled":"orange","refused":"red"}'/> |
|
||||
</header> |
|
||||
<sheet> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="request_date" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
||||
<field name="operation_type" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
||||
<field name="receiver_not_member" attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
|
||||
<field name="partner_id" options="{'no_create':True}" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
||||
<field name="partner_id_to" options="{'no_create':True}" attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="user_id"/> |
|
||||
<field name="share_product_id" attrs="{'readonly':[('state','!=','draft')]}" widget="selection"/> |
|
||||
<field name="share_short_name" readonly="True"/> |
|
||||
<field name="share_to_product_id" attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}" widget="selection"/> |
|
||||
<field name="share_to_short_name" readonly="True"/> |
|
||||
<field name="quantity" attrs="{'readonly':[('state','!=','draft')]}"/> |
|
||||
<field name="share_unit_price" readonly="True"/> |
|
||||
<field name="subscription_amount" readonly="True" /> |
|
||||
</group> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="subscription_request" attrs="{'invisible':['|',('operation_type','!=','transfer'),('receiver_not_member','=',False)]}" context="{'default_is_operation': True, 'default_ordered_parts':quantity,'default_share_product_id': share_product_id, 'default_source':'operation'}"> |
|
||||
<tree> |
|
||||
<field name="name"/> |
|
||||
<field name="birthdate"/> |
|
||||
<field name="phone"/> |
|
||||
<field name="email"/> |
|
||||
<field name="iban"/> |
|
||||
<field name="state" invisible="True"/> |
|
||||
</tree> |
|
||||
<form string="Subscription Requests"> |
|
||||
<sheet> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="name"/> |
|
||||
<field name="firstname"/> |
|
||||
<field name="lastname"/> |
|
||||
<field name="birthdate"/> |
|
||||
<field name="gender"/> |
|
||||
<field name="email"/> |
|
||||
<field name="phone"/> |
|
||||
<field name="iban"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="address"/> |
|
||||
<field name="zip_code"/> |
|
||||
<field name="city"/> |
|
||||
<field name="country_id"/> |
|
||||
<field name="lang"/> |
|
||||
<field name="validated"/> |
|
||||
<field name="skip_control_ng"/> |
|
||||
<field name="ordered_parts" invisible="True"/> |
|
||||
<field name="source" invisible="True"/> |
|
||||
<field name="state" invisible="True"/> |
|
||||
<field name="share_product_id" invisible="True"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</sheet> |
|
||||
</form> |
|
||||
</field> |
|
||||
</group> |
|
||||
</sheet> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="operation_request_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Operation request</field> |
|
||||
<field name="res_model">operation.request</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="operation_request_tree"/> |
|
||||
</record> |
|
||||
|
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<record id="operation_request_tree" model="ir.ui.view"> |
||||
|
<field name="name">operation.request.tree</field> |
||||
|
<field name="model">operation.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Operation requests" colors="green:state in ('approved'); blue:state in ('draft');grey: state in ('done')"> |
||||
|
<field name="request_date"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="operation_type"/> |
||||
|
<field name="quantity"/> |
||||
|
<field name="user_id"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="operation_request_form" model="ir.ui.view"> |
||||
|
<field name="name">operation.request.form</field> |
||||
|
<field name="model">operation.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Operation request"> |
||||
|
<header> |
||||
|
<button string="Submit" type="object" name="submit_operation" states="draft"/> |
||||
|
<button string="Approve" type="object" name="approve_operation" states="waiting"/> |
||||
|
<button string="Refuse" type="object" name="refuse_operation" states="waiting"/> |
||||
|
<button string="Cancel" type="object" name="cancel_operation" states="draft,waiting,approved"/> |
||||
|
<button string="Draft" type="object" name="reset_to_draft" states="waiting,cancelled"/> |
||||
|
<button string="Execute" type="object" name="execute_operation" states="approved"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="draft,done,cancelled,refused" statusbar_colors='{"draft":"grey","done":"green","cancelled":"orange","refused":"red"}'/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="request_date" attrs="{'readonly':[('state','!=','draft')]}"/> |
||||
|
<field name="operation_type" attrs="{'readonly':[('state','!=','draft')]}"/> |
||||
|
<field name="receiver_not_member" attrs="{'invisible':[('operation_type','!=','transfer')]}"/> |
||||
|
<field name="partner_id" options="{'no_create':True}" attrs="{'readonly':[('state','!=','draft')]}"/> |
||||
|
<field name="partner_id_to" options="{'no_create':True}" attrs="{'invisible':['|',('operation_type','!=','transfer'), ('receiver_not_member','=',True)]}"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="user_id"/> |
||||
|
<field name="share_product_id" attrs="{'readonly':[('state','!=','draft')]}" widget="selection"/> |
||||
|
<field name="share_short_name" readonly="True"/> |
||||
|
<field name="share_to_product_id" attrs="{'invisible':[('operation_type','!=','convert')],'required':[('operation_type','=','convert')],'readonly':[('state','!=','draft')]}" widget="selection"/> |
||||
|
<field name="share_to_short_name" readonly="True"/> |
||||
|
<field name="quantity" attrs="{'readonly':[('state','!=','draft')]}"/> |
||||
|
<field name="share_unit_price" readonly="True"/> |
||||
|
<field name="subscription_amount" readonly="True" /> |
||||
|
</group> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="subscription_request" attrs="{'invisible':['|',('operation_type','!=','transfer'),('receiver_not_member','=',False)]}" context="{'default_is_operation': True, 'default_ordered_parts':quantity,'default_share_product_id': share_product_id, 'default_source':'operation'}"> |
||||
|
<tree> |
||||
|
<field name="name"/> |
||||
|
<field name="birthdate"/> |
||||
|
<field name="phone"/> |
||||
|
<field name="email"/> |
||||
|
<field name="iban"/> |
||||
|
<field name="state" invisible="True"/> |
||||
|
</tree> |
||||
|
<form string="Subscription Requests"> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="name"/> |
||||
|
<field name="firstname"/> |
||||
|
<field name="lastname"/> |
||||
|
<field name="birthdate"/> |
||||
|
<field name="gender"/> |
||||
|
<field name="email"/> |
||||
|
<field name="phone"/> |
||||
|
<field name="iban"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="address"/> |
||||
|
<field name="zip_code"/> |
||||
|
<field name="city"/> |
||||
|
<field name="country_id"/> |
||||
|
<field name="lang"/> |
||||
|
<field name="validated"/> |
||||
|
<field name="skip_control_ng"/> |
||||
|
<field name="ordered_parts" invisible="True"/> |
||||
|
<field name="source" invisible="True"/> |
||||
|
<field name="state" invisible="True"/> |
||||
|
<field name="share_product_id" invisible="True"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="operation_request_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Operation request</field> |
||||
|
<field name="res_model">operation.request</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="operation_request_tree"/> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -1,153 +1,153 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<odoo> |
|
||||
<record id="product_template_share_form_view" model="ir.ui.view"> |
|
||||
<field name="name">product.template.share.form</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//field[@name='purchase_ok']/.." position="after"> |
|
||||
<div groups="easy_my_coop.group_easy_my_coop_manager"> |
|
||||
<field name="is_share"/> |
|
||||
<label for="is_share"/> |
|
||||
</div> |
|
||||
<div attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
|
||||
<field name="display_on_website"/> |
|
||||
<label for="display_on_website"/> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
<page name="general_information" position="after"> |
|
||||
<page string="Share Information" name="share_information" attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
|
||||
<group> |
|
||||
<group name="Info" string="Info"> |
|
||||
<field name="short_name"/> |
|
||||
<field name="default_share_product"/> |
|
||||
<field name="mail_template"/> |
|
||||
</group> |
|
||||
<group name="configuration" string="Configuration"> |
|
||||
<field name="force_min_qty"/> |
|
||||
<field name="minimum_quantity"/> |
|
||||
<field name="customer" attrs="{'invisible':[('is_share','=',False)]}"/> |
|
||||
<field name="by_company"/> |
|
||||
<field name="by_individual"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</page> |
|
||||
</page> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="share_product_filter" model="ir.ui.view"> |
|
||||
<field name="name">product.template.share.filter</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_search_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="." position="inside"> |
|
||||
<group expand="0" name="group_by" string="Group By"> |
|
||||
<filter name="Creation Date" context="{'group_by': 'create_date'}"/> |
|
||||
</group> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="product_template_only_form_view" model="ir.ui.view"> |
|
||||
<field name="name">product.template.product.form</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<field name="default_code" position="attributes"> |
|
||||
<attribute name="attrs">{'required': [('is_share', '=', True)]}</attribute> |
|
||||
</field> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="share_product_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Share type</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">product.template</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">kanban,tree,form</field> |
|
||||
<!-- <field name="context">{"search_default_filter_to_purchase":1}</field> --> |
|
||||
<field name="search_view_id" eval="False" /> <!-- Force empty --> |
|
||||
<field name="view_id" eval="False" /> <!-- Force empty --> |
|
||||
<field name="domain">[('is_share','=',True)]</field> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="oe_view_nocontent_create"> |
|
||||
Click to define a new share product. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
|
|
||||
<!-- overriding product views to not display share product in the purchase and sale views--> |
|
||||
|
|
||||
<record id="product.product_normal_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Product</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">product.product</field> |
|
||||
<field name="view_mode">tree,form,kanban</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="search_view_id" ref="product.product_search_form_view"/> |
|
||||
<field name="view_id" eval="False"/> <!-- Force empty --> |
|
||||
<field name="domain">[('is_share','=',False)]</field> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="oe_view_nocontent_create"> |
|
||||
Click to define a new product. |
|
||||
</p><p> |
|
||||
You must define a product for everything you sell, whether it's |
|
||||
a physical product, a consumable or a service you offer to |
|
||||
customers. |
|
||||
</p><p> |
|
||||
The product form contains information to simplify the sale |
|
||||
process: price, notes in the quotation, accounting data, |
|
||||
procurement methods, etc. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="product.product_template_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Products</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">product.template</field> |
|
||||
<field name="view_mode">tree,form,kanban</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="product.product_template_kanban_view"/> |
|
||||
<field name="context">{"search_default_filter_to_sell":1}</field> |
|
||||
<field name="domain">[('is_share','=',False)]</field> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="oe_view_nocontent_create"> |
|
||||
Click to define a new product. |
|
||||
</p><p> |
|
||||
You must define a product for everything you sell, whether it's a physical product, a consumable or a service you offer to customers. |
|
||||
</p><p> |
|
||||
The product form contains information to simplify the sale process: price, notes in the quotation, accounting data, procurement methods, etc. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<!-- move this action to another module cause the original action has been |
|
||||
moved to purchase module. So we want to avoid make purchase module installed |
|
||||
<record id="product.product_normal_action_puchased" model="ir.actions.act_window"> |
|
||||
<field name="name">Products</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">product.template</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">kanban,tree,form</field> |
|
||||
<field name="context">{"search_default_filter_to_purchase":1}</field> |
|
||||
<field name="search_view_id" eval="False"/> Force empty |
|
||||
<field name="view_id" eval="False"/> Force empty |
|
||||
<field name="domain">[('is_share','=',False)]</field> |
|
||||
<field name="help" type="html"> |
|
||||
<p class="oe_view_nocontent_create"> |
|
||||
Click to define a new product. |
|
||||
</p><p> |
|
||||
You must define a product for everything you purchase, whether |
|
||||
it's a physical product, a consumable or services you buy to |
|
||||
subcontractants. |
|
||||
</p><p> |
|
||||
The product form contains detailed information to improve the |
|
||||
purchase process: prices, procurement logistics, accounting data, |
|
||||
available vendors, etc. |
|
||||
</p> |
|
||||
</field> |
|
||||
</record> --> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<record id="product_template_share_form_view" model="ir.ui.view"> |
||||
|
<field name="name">product.template.share.form</field> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="inherit_id" ref="product.product_template_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='purchase_ok']/.." position="after"> |
||||
|
<div groups="easy_my_coop.group_easy_my_coop_manager"> |
||||
|
<field name="is_share"/> |
||||
|
<label for="is_share"/> |
||||
|
</div> |
||||
|
<div attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
||||
|
<field name="display_on_website"/> |
||||
|
<label for="display_on_website"/> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
<page name="general_information" position="after"> |
||||
|
<page string="Share Information" name="share_information" attrs="{'invisible':[('is_share','=',False)]}" groups="easy_my_coop.group_easy_my_coop_user"> |
||||
|
<group> |
||||
|
<group name="Info" string="Info"> |
||||
|
<field name="short_name"/> |
||||
|
<field name="default_share_product"/> |
||||
|
<field name="mail_template"/> |
||||
|
</group> |
||||
|
<group name="configuration" string="Configuration"> |
||||
|
<field name="force_min_qty"/> |
||||
|
<field name="minimum_quantity"/> |
||||
|
<field name="customer" attrs="{'invisible':[('is_share','=',False)]}"/> |
||||
|
<field name="by_company"/> |
||||
|
<field name="by_individual"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
</page> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="share_product_filter" model="ir.ui.view"> |
||||
|
<field name="name">product.template.share.filter</field> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="inherit_id" ref="product.product_template_search_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<group expand="0" name="group_by" string="Group By"> |
||||
|
<filter name="Creation Date" context="{'group_by': 'create_date'}"/> |
||||
|
</group> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="product_template_only_form_view" model="ir.ui.view"> |
||||
|
<field name="name">product.template.product.form</field> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<field name="default_code" position="attributes"> |
||||
|
<attribute name="attrs">{'required': [('is_share', '=', True)]}</attribute> |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="share_product_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Share type</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.template</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">kanban,tree,form</field> |
||||
|
<!-- <field name="context">{"search_default_filter_to_purchase":1}</field> --> |
||||
|
<field name="search_view_id" eval="False" /> <!-- Force empty --> |
||||
|
<field name="view_id" eval="False" /> <!-- Force empty --> |
||||
|
<field name="domain">[('is_share','=',True)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="oe_view_nocontent_create"> |
||||
|
Click to define a new share product. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
|
||||
|
<!-- overriding product views to not display share product in the purchase and sale views--> |
||||
|
|
||||
|
<record id="product.product_normal_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Product</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.product</field> |
||||
|
<field name="view_mode">tree,form,kanban</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="search_view_id" ref="product.product_search_form_view"/> |
||||
|
<field name="view_id" eval="False"/> <!-- Force empty --> |
||||
|
<field name="domain">[('is_share','=',False)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="oe_view_nocontent_create"> |
||||
|
Click to define a new product. |
||||
|
</p><p> |
||||
|
You must define a product for everything you sell, whether it's |
||||
|
a physical product, a consumable or a service you offer to |
||||
|
customers. |
||||
|
</p><p> |
||||
|
The product form contains information to simplify the sale |
||||
|
process: price, notes in the quotation, accounting data, |
||||
|
procurement methods, etc. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="product.product_template_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Products</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.template</field> |
||||
|
<field name="view_mode">tree,form,kanban</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="product.product_template_kanban_view"/> |
||||
|
<field name="context">{"search_default_filter_to_sell":1}</field> |
||||
|
<field name="domain">[('is_share','=',False)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="oe_view_nocontent_create"> |
||||
|
Click to define a new product. |
||||
|
</p><p> |
||||
|
You must define a product for everything you sell, whether it's a physical product, a consumable or a service you offer to customers. |
||||
|
</p><p> |
||||
|
The product form contains information to simplify the sale process: price, notes in the quotation, accounting data, procurement methods, etc. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<!-- move this action to another module cause the original action has been |
||||
|
moved to purchase module. So we want to avoid make purchase module installed |
||||
|
<record id="product.product_normal_action_puchased" model="ir.actions.act_window"> |
||||
|
<field name="name">Products</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">product.template</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">kanban,tree,form</field> |
||||
|
<field name="context">{"search_default_filter_to_purchase":1}</field> |
||||
|
<field name="search_view_id" eval="False"/> Force empty |
||||
|
<field name="view_id" eval="False"/> Force empty |
||||
|
<field name="domain">[('is_share','=',False)]</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="oe_view_nocontent_create"> |
||||
|
Click to define a new product. |
||||
|
</p><p> |
||||
|
You must define a product for everything you purchase, whether |
||||
|
it's a physical product, a consumable or services you buy to |
||||
|
subcontractants. |
||||
|
</p><p> |
||||
|
The product form contains detailed information to improve the |
||||
|
purchase process: prices, procurement logistics, accounting data, |
||||
|
available vendors, etc. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> --> |
||||
|
</odoo> |
@ -1,34 +1,34 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<odoo> |
|
||||
<record model="ir.ui.view" id="view_company_inherit_form2"> |
|
||||
<field name="name">res.company.form.easymy.coop</field> |
|
||||
<field name="inherit_id" ref="base.view_company_form"/> |
|
||||
<field name="model">res.company</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<group name="social_media" position="before"> |
|
||||
<group name="coop_grp" string="EasyMy Coop" groups="easy_my_coop.group_easy_my_coop_user"> |
|
||||
<field name="unmix_share_type"/> |
|
||||
<field name="allow_id_card_upload"/> |
|
||||
<field name="create_user"/> |
|
||||
<field name="display_logo1"/> |
|
||||
<field name="bottom_logo1"/> |
|
||||
<field name="display_logo2"/> |
|
||||
<field name="bottom_logo2"/> |
|
||||
<field name="coop_email_contact"/> |
|
||||
<field name="subscription_maximum_amount"/> |
|
||||
<field name="property_cooperator_account"/> |
|
||||
<field name="default_country_id"/> |
|
||||
<field name="default_lang_id"/> |
|
||||
<field name="board_representative"/> |
|
||||
<field name="signature_scan"/> |
|
||||
<field name="display_data_policy_approval"/> |
|
||||
<field name="data_policy_approval_required"/> |
|
||||
<field name="data_policy_approval_text"/> |
|
||||
<field name="display_internal_rules_approval"/> |
|
||||
<field name="internal_rules_approval_required"/> |
|
||||
<field name="internal_rules_approval_text"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</field> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<record model="ir.ui.view" id="view_company_inherit_form2"> |
||||
|
<field name="name">res.company.form.easymy.coop</field> |
||||
|
<field name="inherit_id" ref="base.view_company_form"/> |
||||
|
<field name="model">res.company</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<group name="social_media" position="before"> |
||||
|
<group name="coop_grp" string="EasyMy Coop" groups="easy_my_coop.group_easy_my_coop_user"> |
||||
|
<field name="unmix_share_type"/> |
||||
|
<field name="allow_id_card_upload"/> |
||||
|
<field name="create_user"/> |
||||
|
<field name="display_logo1"/> |
||||
|
<field name="bottom_logo1"/> |
||||
|
<field name="display_logo2"/> |
||||
|
<field name="bottom_logo2"/> |
||||
|
<field name="coop_email_contact"/> |
||||
|
<field name="subscription_maximum_amount"/> |
||||
|
<field name="property_cooperator_account"/> |
||||
|
<field name="default_country_id"/> |
||||
|
<field name="default_lang_id"/> |
||||
|
<field name="board_representative"/> |
||||
|
<field name="signature_scan"/> |
||||
|
<field name="display_data_policy_approval"/> |
||||
|
<field name="data_policy_approval_required"/> |
||||
|
<field name="data_policy_approval_text"/> |
||||
|
<field name="display_internal_rules_approval"/> |
||||
|
<field name="internal_rules_approval_required"/> |
||||
|
<field name="internal_rules_approval_text"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -1,201 +1,201 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<odoo> |
|
||||
|
|
||||
<record id="subscription_request_tree" model="ir.ui.view"> |
|
||||
<field name="name">subscription.request.tree</field> |
|
||||
<field name="model">subscription.request</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<!-- fixme no colors in v12 ? --> |
|
||||
<tree string="Subscription Requests" colors="red:validated == False; blue:state in ('draft'); grey: state in ('done')"> |
|
||||
<field name="name"/> |
|
||||
<field name="company_name"/> |
|
||||
<field name="date" string="Request Date"/> |
|
||||
<field name="type"/> |
|
||||
<field name="share_short_name" string="Share Type"/> |
|
||||
<field name="ordered_parts" string="Quantity" sum="Total ordered parts"/> |
|
||||
<field name="subscription_amount" sum="Total amount"/> |
|
||||
<field name="email"/> |
|
||||
<field name="iban"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="source"/> |
|
||||
<field name="state"/> |
|
||||
<field name="validated" invisible="True"/> |
|
||||
<button type="object" string="Validate" aria-label="Validate" name="validate_subscription_request" attrs="{'invisible':['|',('state','not in',['draft','waiting']),('validated','=',False)]}"/> |
|
||||
<button type="object" string="Block" aria-label="Block" name="block_subscription_request" states="draft" groups="easy_my_coop.group_easy_my_coop_user"/> |
|
||||
<button type="object" string="Unblock" aria-label="Unblock" name="unblock_subscription_request" states="block" groups="easy_my_coop.group_easy_my_coop_user"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="subscription_request_form" model="ir.ui.view"> |
|
||||
<field name="name">subscription.request.form</field> |
|
||||
<field name="model">subscription.request</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Subscription Requests"> |
|
||||
<header> |
|
||||
<button string="Validate" type="object" name="validate_subscription_request" attrs="{'invisible':['|',('state','not in',['draft','waiting']),('validated','=',False)]}"/> |
|
||||
<button string="Waiting list" type="object" name="put_on_waiting_list" states="draft"/> |
|
||||
<button string="Cancel" type="object" name="cancel_subscription_request" states="draft,waiting,done,block" groups="easy_my_coop.group_easy_my_coop_user"/> |
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,cancelled,done,failed"/> |
|
||||
</header> |
|
||||
<sheet> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="validated" invisible="True"/> |
|
||||
<field name="already_cooperator"/> |
|
||||
<field name="is_company" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|
||||
<field name="is_operation" invisible="True"/> |
|
||||
<field name="company_name" attrs="{'invisible':[('is_company','=',False)]}"/> |
|
||||
<field name="company_email" attrs="{'invisible':[('is_company','=',False)]}"/> |
|
||||
<field name="company_type" attrs="{'invisible':[('is_company','=',False)]}"/> |
|
||||
<field name="company_register_number" attrs="{'invisible':[('is_company','=',False)]}"/> |
|
||||
<field name="name"/> |
|
||||
<field name="firstname"/> |
|
||||
<field name="lastname"/> |
|
||||
<field name="birthdate"/> |
|
||||
<field name="gender"/> |
|
||||
<field name="email"/> |
|
||||
<field name="phone"/> |
|
||||
<field name="contact_person_function" attrs="{'invisible':[('is_company','=',False)]}"/> |
|
||||
<!-- todo highlight iban if not valid --> |
|
||||
<field name="iban"/> |
|
||||
<field name="address"/> |
|
||||
<field name="zip_code"/> |
|
||||
<field name="city"/> |
|
||||
<field name="country_id" options="{'no_create':True}"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="capital_release_request_date" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|
||||
<field name="date"/> |
|
||||
<field name="source"/> |
|
||||
<field name="ordered_parts"/> |
|
||||
<field name="share_product_id" widget="selection"/> |
|
||||
<field name="share_short_name"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="subscription_amount"/> |
|
||||
<field name="partner_id" options="{'no_create':True}"/> |
|
||||
<field name="type"/> |
|
||||
<field name="lang"/> |
|
||||
<field name="skip_control_ng"/> |
|
||||
<field name="data_policy_approved"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
<notebook> |
|
||||
<page name="capital_release_request" string="Capital release request"> |
|
||||
<field name="capital_release_request"> |
|
||||
<tree options="{'no_create':True}"> |
|
||||
<field string="Cooperator" name="partner_id"/> |
|
||||
<field name="date_invoice"/> |
|
||||
<field name="number"/> |
|
||||
<field string="Reference" name="reference"/> |
|
||||
<field name="date_due"/> |
|
||||
<field name="amount_total_signed"/> |
|
||||
<field name="residual_signed"/> |
|
||||
<field name="state"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</page> |
|
||||
</notebook> |
|
||||
</sheet> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_subscription_request_filter" model="ir.ui.view"> |
|
||||
<field name="name">Cooperator Subscription Search</field> |
|
||||
<field name="model">subscription.request</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<search string="Search Subscription Request"> |
|
||||
<field name="name"/> |
|
||||
<field name="partner_id"/> |
|
||||
<separator/> |
|
||||
<filter string="Draft" name="state_draft" domain="[('state','=','draft')]"/> |
|
||||
<filter string="Paid" name="state_paid" domain="[('state','=','paid')]"/> |
|
||||
<filter string="Done" name="state_done" domain="[('state','=','done')]"/> |
|
||||
<separator/> |
|
||||
<filter string="Not Validated" name="Not Validated" domain="[('validated', '=', False)]"/> |
|
||||
<group expand="0" name="group_by" string="Group By"> |
|
||||
<filter name="request_type" string="Request type" context="{'group_by' : 'type'}" /> |
|
||||
<filter name="date" string="Request Date" context="{'group_by': 'date'}"/> |
|
||||
</group> |
|
||||
</search> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="subscription_request_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Subscriptions</field> |
|
||||
<field name="res_model">subscription.request</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="domain">[('is_operation','=',False)]</field> |
|
||||
<field name="context">{'default_source':'manual'}</field> |
|
||||
<field name="view_id" ref="subscription_request_tree"/> |
|
||||
<field name="search_view_id" ref="view_subscription_request_filter"/> |
|
||||
</record> |
|
||||
|
|
||||
<record id="share_line_form" model="ir.ui.view"> |
|
||||
<field name="name">share.line.form</field> |
|
||||
<field name="model">share.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Share line"> |
|
||||
<header> |
|
||||
<button string="Update info" name="%(action_view_update_share_line_info)d" |
|
||||
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/> |
|
||||
</header> |
|
||||
<sheet> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_product_id"/> |
|
||||
<field name="share_number"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="share_short_name"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="effective_date"/> |
|
||||
<field name="total_amount_line"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
</sheet> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="share_line_tree" model="ir.ui.view"> |
|
||||
<field name="name">share.line.tree</field> |
|
||||
<field name="model">share.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_product_id"/> |
|
||||
<field name="share_number"/> |
|
||||
<field name="share_short_name"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="effective_date"/> |
|
||||
<field name="total_amount_line"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_share_line_filter" model="ir.ui.view"> |
|
||||
<field name="name">Share Line Search</field> |
|
||||
<field name="model">share.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<search string="Search Share Line"> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="effective_date"/> |
|
||||
<separator/> |
|
||||
<group name="group_by" string="Group By"> |
|
||||
<filter name="cooperator" string="Cooperator" context="{'group_by' : 'partner_id'}" /> |
|
||||
<filter name="effective_date" string="Effective date" context="{'group_by': 'effective_date'}"/> |
|
||||
</group> |
|
||||
</search> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="share_line_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Share Lines</field> |
|
||||
<field name="res_model">share.line</field> |
|
||||
<field name="view_type">form</field> |
|
||||
</record> |
|
||||
|
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
|
||||
|
<record id="subscription_request_tree" model="ir.ui.view"> |
||||
|
<field name="name">subscription.request.tree</field> |
||||
|
<field name="model">subscription.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<!-- fixme no colors in v12 ? --> |
||||
|
<tree string="Subscription Requests" colors="red:validated == False; blue:state in ('draft'); grey: state in ('done')"> |
||||
|
<field name="name"/> |
||||
|
<field name="company_name"/> |
||||
|
<field name="date" string="Request Date"/> |
||||
|
<field name="type"/> |
||||
|
<field name="share_short_name" string="Share Type"/> |
||||
|
<field name="ordered_parts" string="Quantity" sum="Total ordered parts"/> |
||||
|
<field name="subscription_amount" sum="Total amount"/> |
||||
|
<field name="email"/> |
||||
|
<field name="iban"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="source"/> |
||||
|
<field name="state"/> |
||||
|
<field name="validated" invisible="True"/> |
||||
|
<button type="object" string="Validate" aria-label="Validate" name="validate_subscription_request" attrs="{'invisible':['|',('state','not in',['draft','waiting']),('validated','=',False)]}"/> |
||||
|
<button type="object" string="Block" aria-label="Block" name="block_subscription_request" states="draft" groups="easy_my_coop.group_easy_my_coop_user"/> |
||||
|
<button type="object" string="Unblock" aria-label="Unblock" name="unblock_subscription_request" states="block" groups="easy_my_coop.group_easy_my_coop_user"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="subscription_request_form" model="ir.ui.view"> |
||||
|
<field name="name">subscription.request.form</field> |
||||
|
<field name="model">subscription.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Subscription Requests"> |
||||
|
<header> |
||||
|
<button string="Validate" type="object" name="validate_subscription_request" attrs="{'invisible':['|',('state','not in',['draft','waiting']),('validated','=',False)]}"/> |
||||
|
<button string="Waiting list" type="object" name="put_on_waiting_list" states="draft"/> |
||||
|
<button string="Cancel" type="object" name="cancel_subscription_request" states="draft,waiting,done,block" groups="easy_my_coop.group_easy_my_coop_user"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="draft,cancelled,done,failed"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="validated" invisible="True"/> |
||||
|
<field name="already_cooperator"/> |
||||
|
<field name="is_company" groups="easy_my_coop.group_easy_my_coop_manager"/> |
||||
|
<field name="is_operation" invisible="True"/> |
||||
|
<field name="company_name" attrs="{'invisible':[('is_company','=',False)]}"/> |
||||
|
<field name="company_email" attrs="{'invisible':[('is_company','=',False)]}"/> |
||||
|
<field name="company_type" attrs="{'invisible':[('is_company','=',False)]}"/> |
||||
|
<field name="company_register_number" attrs="{'invisible':[('is_company','=',False)]}"/> |
||||
|
<field name="name"/> |
||||
|
<field name="firstname"/> |
||||
|
<field name="lastname"/> |
||||
|
<field name="birthdate"/> |
||||
|
<field name="gender"/> |
||||
|
<field name="email"/> |
||||
|
<field name="phone"/> |
||||
|
<field name="contact_person_function" attrs="{'invisible':[('is_company','=',False)]}"/> |
||||
|
<!-- todo highlight iban if not valid --> |
||||
|
<field name="iban"/> |
||||
|
<field name="address"/> |
||||
|
<field name="zip_code"/> |
||||
|
<field name="city"/> |
||||
|
<field name="country_id" options="{'no_create':True}"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="capital_release_request_date" groups="easy_my_coop.group_easy_my_coop_manager"/> |
||||
|
<field name="date"/> |
||||
|
<field name="source"/> |
||||
|
<field name="ordered_parts"/> |
||||
|
<field name="share_product_id" widget="selection"/> |
||||
|
<field name="share_short_name"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="subscription_amount"/> |
||||
|
<field name="partner_id" options="{'no_create':True}"/> |
||||
|
<field name="type"/> |
||||
|
<field name="lang"/> |
||||
|
<field name="skip_control_ng"/> |
||||
|
<field name="data_policy_approved"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page name="capital_release_request" string="Capital release request"> |
||||
|
<field name="capital_release_request"> |
||||
|
<tree options="{'no_create':True}"> |
||||
|
<field string="Cooperator" name="partner_id"/> |
||||
|
<field name="date_invoice"/> |
||||
|
<field name="number"/> |
||||
|
<field string="Reference" name="reference"/> |
||||
|
<field name="date_due"/> |
||||
|
<field name="amount_total_signed"/> |
||||
|
<field name="residual_signed"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_subscription_request_filter" model="ir.ui.view"> |
||||
|
<field name="name">Cooperator Subscription Search</field> |
||||
|
<field name="model">subscription.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Search Subscription Request"> |
||||
|
<field name="name"/> |
||||
|
<field name="partner_id"/> |
||||
|
<separator/> |
||||
|
<filter string="Draft" name="state_draft" domain="[('state','=','draft')]"/> |
||||
|
<filter string="Paid" name="state_paid" domain="[('state','=','paid')]"/> |
||||
|
<filter string="Done" name="state_done" domain="[('state','=','done')]"/> |
||||
|
<separator/> |
||||
|
<filter string="Not Validated" name="Not Validated" domain="[('validated', '=', False)]"/> |
||||
|
<group expand="0" name="group_by" string="Group By"> |
||||
|
<filter name="request_type" string="Request type" context="{'group_by' : 'type'}" /> |
||||
|
<filter name="date" string="Request Date" context="{'group_by': 'date'}"/> |
||||
|
</group> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="subscription_request_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Subscriptions</field> |
||||
|
<field name="res_model">subscription.request</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="domain">[('is_operation','=',False)]</field> |
||||
|
<field name="context">{'default_source':'manual'}</field> |
||||
|
<field name="view_id" ref="subscription_request_tree"/> |
||||
|
<field name="search_view_id" ref="view_subscription_request_filter"/> |
||||
|
</record> |
||||
|
|
||||
|
<record id="share_line_form" model="ir.ui.view"> |
||||
|
<field name="name">share.line.form</field> |
||||
|
<field name="model">share.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Share line"> |
||||
|
<header> |
||||
|
<button string="Update info" name="%(action_view_update_share_line_info)d" |
||||
|
type="action" context="{'default_active_id': active_id}" groups="easy_my_coop.group_easy_my_coop_manager"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_product_id"/> |
||||
|
<field name="share_number"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="share_short_name"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="effective_date"/> |
||||
|
<field name="total_amount_line"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="share_line_tree" model="ir.ui.view"> |
||||
|
<field name="name">share.line.tree</field> |
||||
|
<field name="model">share.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_product_id"/> |
||||
|
<field name="share_number"/> |
||||
|
<field name="share_short_name"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="effective_date"/> |
||||
|
<field name="total_amount_line"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_share_line_filter" model="ir.ui.view"> |
||||
|
<field name="name">Share Line Search</field> |
||||
|
<field name="model">share.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Search Share Line"> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="effective_date"/> |
||||
|
<separator/> |
||||
|
<group name="group_by" string="Group By"> |
||||
|
<filter name="cooperator" string="Cooperator" context="{'group_by' : 'partner_id'}" /> |
||||
|
<filter name="effective_date" string="Effective date" context="{'group_by': 'effective_date'}"/> |
||||
|
</group> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="share_line_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Share Lines</field> |
||||
|
<field name="res_model">share.line</field> |
||||
|
<field name="view_type">form</field> |
||||
|
</record> |
||||
|
|
||||
|
</odoo> |
@ -1,36 +1,36 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<record id="view_update_share_line_info" model="ir.ui.view"> |
|
||||
<field name="name">Update Share line Info</field> |
|
||||
<field name="model">share.line.update.info</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Update Share Line Info"> |
|
||||
<p class="oe_grey"> |
|
||||
Update Share Line Info. |
|
||||
</p> |
|
||||
<group> |
|
||||
<field name="cooperator" readonly="True"/> |
|
||||
<field name="share_line" readonly="True"/> |
|
||||
<field name="effective_date"/> |
|
||||
</group> |
|
||||
<footer> |
|
||||
<button name="update" string="Update Info" type="object" class="btn-primary"/> |
|
||||
<button string="Cancel" class="btn-default" special="cancel"/> |
|
||||
</footer> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_view_update_share_line_info" model="ir.actions.act_window"> |
|
||||
<field name="name">Update Share Line Info</field> |
|
||||
<field name="type">ir.actions.act_window</field> |
|
||||
<field name="res_model">share.line.update.info</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">form</field> |
|
||||
<field name="target">new</field> |
|
||||
<field name="groups_id" eval="[(4,ref('easy_my_coop.group_easy_my_coop_manager'))]"/> |
|
||||
</record> |
|
||||
|
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_update_share_line_info" model="ir.ui.view"> |
||||
|
<field name="name">Update Share line Info</field> |
||||
|
<field name="model">share.line.update.info</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Update Share Line Info"> |
||||
|
<p class="oe_grey"> |
||||
|
Update Share Line Info. |
||||
|
</p> |
||||
|
<group> |
||||
|
<field name="cooperator" readonly="True"/> |
||||
|
<field name="share_line" readonly="True"/> |
||||
|
<field name="effective_date"/> |
||||
|
</group> |
||||
|
<footer> |
||||
|
<button name="update" string="Update Info" type="object" class="btn-primary"/> |
||||
|
<button string="Cancel" class="btn-default" special="cancel"/> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="action_view_update_share_line_info" model="ir.actions.act_window"> |
||||
|
<field name="name">Update Share Line Info</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">share.line.update.info</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="target">new</field> |
||||
|
<field name="groups_id" eval="[(4,ref('easy_my_coop.group_easy_my_coop_manager'))]"/> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</odoo> |
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1,2 +1,2 @@ |
|||||
from . import coop |
|
||||
from . import partner |
|
||||
|
from . import coop |
||||
|
from . import partner |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1,2 +1,2 @@ |
|||||
from . import coop |
|
||||
from . import partner |
|
||||
|
from . import coop |
||||
|
from . import partner |
@ -1,26 +1,26 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<template id="subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields"> |
|
||||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|
||||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|
||||
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
|
||||
<div class="col-md-7 col-sm-8"> |
|
||||
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
<template id="company_subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields"> |
|
||||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|
||||
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
|
||||
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
|
||||
<div class="col-md-7 col-sm-8"> |
|
||||
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<template id="subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields"> |
||||
|
<xpath expr="//label[@for='iban']/.." position="replace"> |
||||
|
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
||||
|
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
||||
|
<div class="col-md-7 col-sm-8"> |
||||
|
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<template id="company_subscription_i18n_ch" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields"> |
||||
|
<xpath expr="//label[@for='iban']/.." position="replace"> |
||||
|
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}"> |
||||
|
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> |
||||
|
<div class="col-md-7 col-sm-8"> |
||||
|
<input type="text" class="form-control mandatory-field" name="iban" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import models |
from . import models |
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import dividend |
from . import dividend |
@ -1,3 +1,2 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
* Houssine BAKKALI, <houssine@coopiteasy.be> |
* Houssine BAKKALI, <houssine@coopiteasy.be> |
||||
|
|
@ -1 +1 @@ |
|||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
|
||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
@ -1,164 +1,164 @@ |
|||||
<odoo> |
|
||||
<data> |
|
||||
<menuitem name="Dividend" id="menu_easy_my_coop_main_dividend" parent="easy_my_coop.menu_main_easy_my_coop" groups="easy_my_coop.group_easy_my_coop_user" sequence="30" /> |
|
||||
|
|
||||
<record id="dividend_year_form" model="ir.ui.view"> |
|
||||
<field name="name">dividend.year.form</field> |
|
||||
<field name="model">dividend.year</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<form string="Dividend year"> |
|
||||
<header> |
|
||||
<button name="compute_dividend" string="Compute dividend" type="object" class="oe_highlight" groups="base.group_user"/> |
|
||||
</header> |
|
||||
<sheet> |
|
||||
<group> |
|
||||
<group> |
|
||||
<field name="name"/> |
|
||||
<field name="percentage"/> |
|
||||
<field name="grand_total_dividend"/> |
|
||||
<field name="grand_total_taxes"/> |
|
||||
</group> |
|
||||
<group> |
|
||||
<field name="date_from"/> |
|
||||
<field name="date_to"/> |
|
||||
<field name="withholding_tax"/> |
|
||||
</group> |
|
||||
</group> |
|
||||
<notebook> |
|
||||
<page string="Dividend line"> |
|
||||
<field name="dividend_ids"> |
|
||||
<tree> |
|
||||
<field name="coop_number"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="dividend_amount" sum="Total dividend"/> |
|
||||
<field name="dividend_amount_net" sum="Total dividend net"/> |
|
||||
<field name="dividend_taxes" sum="Total dividend taxes"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</page> |
|
||||
<page string="Detailed dividend line"> |
|
||||
<field name="detailed_dividend_ids"> |
|
||||
<tree> |
|
||||
<field name="coop_number"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_number"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="effective_date"/> |
|
||||
<field name="days"/> |
|
||||
<field name="total_amount_line"/> |
|
||||
<field name="coeff"/> |
|
||||
<field name="dividend_amount" string="Dividend" sum="Total dividend"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</page> |
|
||||
</notebook> |
|
||||
</sheet> |
|
||||
</form> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="dividend_year_tree" model="ir.ui.view"> |
|
||||
<field name="name">dividend.year.tree</field> |
|
||||
<field name="model">dividend.year</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="Dividend year"> |
|
||||
<field name="name"/> |
|
||||
<field name="percentage"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="dividend_year_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Dividend year</field> |
|
||||
<field name="res_model">dividend.year</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="dividend_year_tree"/> |
|
||||
</record> |
|
||||
|
|
||||
<menuitem action="dividend_year_action" name="Dividend" id="menu_dividend_year" parent="menu_easy_my_coop_main_dividend" sequence="10"/> |
|
||||
|
|
||||
<record id="view_detailed_dividend_line_filter" model="ir.ui.view"> |
|
||||
<field name="name">detailed.dividend.line.select</field> |
|
||||
<field name="model">detailed.dividend.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<search string="Search detailed dividend line"> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="coop_number"/> |
|
||||
<filter name="dividend_year_id" string="Dividend Year"/> |
|
||||
<separator/> |
|
||||
<filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/> |
|
||||
<filter string="Dividend Year" domain="[]" context="{'group_by':'dividend_year_id'}"/> |
|
||||
</search> |
|
||||
</field> |
|
||||
</record> |
|
||||
<record id="detailed_dividend_line_tree" model="ir.ui.view"> |
|
||||
<field name="name">detailed.dividend.line.tree</field> |
|
||||
<field name="model">detailed.dividend.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="Detailed dividend lines"> |
|
||||
<field name="dividend_year_id"/> |
|
||||
<field name="coop_number"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="share_number"/> |
|
||||
<field name="share_unit_price"/> |
|
||||
<field name="effective_date"/> |
|
||||
<field name="days"/> |
|
||||
<field name="total_amount_line"/> |
|
||||
<field name="coeff"/> |
|
||||
<field name="dividend_amount" string="Dividend" sum="Total dividend"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="detailed_dividend_line_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Detailed dividend lines</field> |
|
||||
<field name="res_model">detailed.dividend.line</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="detailed_dividend_line_tree"/> |
|
||||
</record> |
|
||||
|
|
||||
<menuitem action="detailed_dividend_line_action" name="Detailed dividend lines" id="menu_det_dividend_line" parent="menu_easy_my_coop_main_dividend" sequence="20"/> |
|
||||
|
|
||||
<record id="view_dividend_line_filter" model="ir.ui.view"> |
|
||||
<field name="name">dividend.line.select</field> |
|
||||
<field name="model">dividend.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<search string="Search Subscription"> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="coop_number"/> |
|
||||
<filter name="dividend_year_id" string="Dividend Year"/> |
|
||||
<separator/> |
|
||||
<group expand="0" string="Group By..."> |
|
||||
<filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/> |
|
||||
<filter string="Dividend Year" domain="[]" context="{'group_by':'dividend_year_id'}"/> |
|
||||
</group> |
|
||||
</search> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="dividend_line_tree" model="ir.ui.view"> |
|
||||
<field name="name">dividend.line.tree</field> |
|
||||
<field name="model">dividend.line</field> |
|
||||
<field name="arch" type="xml"> |
|
||||
<tree string="dividend lines"> |
|
||||
<field name="dividend_year_id"/> |
|
||||
<field name="coop_number"/> |
|
||||
<field name="partner_id"/> |
|
||||
<field name="account_number"/> |
|
||||
<field name="dividend_amount" sum="Total dividend"/> |
|
||||
<field name="dividend_amount_net" sum="Total dividend net"/> |
|
||||
<field name="dividend_taxes" sum="Total dividend taxes"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="dividend_line_action" model="ir.actions.act_window"> |
|
||||
<field name="name">Dividend lines</field> |
|
||||
<field name="res_model">dividend.line</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_id" ref="dividend_line_tree"/> |
|
||||
</record> |
|
||||
|
|
||||
<menuitem action="dividend_line_action" name="Dividend lines" id="menu_dividend_line" parent="menu_easy_my_coop_main_dividend" sequence="30"/> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<odoo> |
||||
|
<data> |
||||
|
<menuitem name="Dividend" id="menu_easy_my_coop_main_dividend" parent="easy_my_coop.menu_main_easy_my_coop" groups="easy_my_coop.group_easy_my_coop_user" sequence="30" /> |
||||
|
|
||||
|
<record id="dividend_year_form" model="ir.ui.view"> |
||||
|
<field name="name">dividend.year.form</field> |
||||
|
<field name="model">dividend.year</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Dividend year"> |
||||
|
<header> |
||||
|
<button name="compute_dividend" string="Compute dividend" type="object" class="oe_highlight" groups="base.group_user"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="name"/> |
||||
|
<field name="percentage"/> |
||||
|
<field name="grand_total_dividend"/> |
||||
|
<field name="grand_total_taxes"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="date_from"/> |
||||
|
<field name="date_to"/> |
||||
|
<field name="withholding_tax"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="Dividend line"> |
||||
|
<field name="dividend_ids"> |
||||
|
<tree> |
||||
|
<field name="coop_number"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="dividend_amount" sum="Total dividend"/> |
||||
|
<field name="dividend_amount_net" sum="Total dividend net"/> |
||||
|
<field name="dividend_taxes" sum="Total dividend taxes"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
<page string="Detailed dividend line"> |
||||
|
<field name="detailed_dividend_ids"> |
||||
|
<tree> |
||||
|
<field name="coop_number"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_number"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="effective_date"/> |
||||
|
<field name="days"/> |
||||
|
<field name="total_amount_line"/> |
||||
|
<field name="coeff"/> |
||||
|
<field name="dividend_amount" string="Dividend" sum="Total dividend"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="dividend_year_tree" model="ir.ui.view"> |
||||
|
<field name="name">dividend.year.tree</field> |
||||
|
<field name="model">dividend.year</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Dividend year"> |
||||
|
<field name="name"/> |
||||
|
<field name="percentage"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="dividend_year_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Dividend year</field> |
||||
|
<field name="res_model">dividend.year</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="dividend_year_tree"/> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem action="dividend_year_action" name="Dividend" id="menu_dividend_year" parent="menu_easy_my_coop_main_dividend" sequence="10"/> |
||||
|
|
||||
|
<record id="view_detailed_dividend_line_filter" model="ir.ui.view"> |
||||
|
<field name="name">detailed.dividend.line.select</field> |
||||
|
<field name="model">detailed.dividend.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Search detailed dividend line"> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="coop_number"/> |
||||
|
<filter name="dividend_year_id" string="Dividend Year"/> |
||||
|
<separator/> |
||||
|
<filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/> |
||||
|
<filter string="Dividend Year" domain="[]" context="{'group_by':'dividend_year_id'}"/> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="detailed_dividend_line_tree" model="ir.ui.view"> |
||||
|
<field name="name">detailed.dividend.line.tree</field> |
||||
|
<field name="model">detailed.dividend.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Detailed dividend lines"> |
||||
|
<field name="dividend_year_id"/> |
||||
|
<field name="coop_number"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="share_number"/> |
||||
|
<field name="share_unit_price"/> |
||||
|
<field name="effective_date"/> |
||||
|
<field name="days"/> |
||||
|
<field name="total_amount_line"/> |
||||
|
<field name="coeff"/> |
||||
|
<field name="dividend_amount" string="Dividend" sum="Total dividend"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="detailed_dividend_line_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Detailed dividend lines</field> |
||||
|
<field name="res_model">detailed.dividend.line</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="detailed_dividend_line_tree"/> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem action="detailed_dividend_line_action" name="Detailed dividend lines" id="menu_det_dividend_line" parent="menu_easy_my_coop_main_dividend" sequence="20"/> |
||||
|
|
||||
|
<record id="view_dividend_line_filter" model="ir.ui.view"> |
||||
|
<field name="name">dividend.line.select</field> |
||||
|
<field name="model">dividend.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Search Subscription"> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="coop_number"/> |
||||
|
<filter name="dividend_year_id" string="Dividend Year"/> |
||||
|
<separator/> |
||||
|
<group expand="0" string="Group By..."> |
||||
|
<filter string="Partner" domain="[]" context="{'group_by':'partner_id'}"/> |
||||
|
<filter string="Dividend Year" domain="[]" context="{'group_by':'dividend_year_id'}"/> |
||||
|
</group> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="dividend_line_tree" model="ir.ui.view"> |
||||
|
<field name="name">dividend.line.tree</field> |
||||
|
<field name="model">dividend.line</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="dividend lines"> |
||||
|
<field name="dividend_year_id"/> |
||||
|
<field name="coop_number"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="account_number"/> |
||||
|
<field name="dividend_amount" sum="Total dividend"/> |
||||
|
<field name="dividend_amount_net" sum="Total dividend net"/> |
||||
|
<field name="dividend_taxes" sum="Total dividend taxes"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="dividend_line_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Dividend lines</field> |
||||
|
<field name="res_model">dividend.line</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_id" ref="dividend_line_tree"/> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem action="dividend_line_action" name="Dividend lines" id="menu_dividend_line" parent="menu_easy_my_coop_main_dividend" sequence="30"/> |
||||
|
</data> |
||||
|
</odoo> |
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1,2 +1,2 @@ |
|||||
from . import coop |
|
||||
from . import product |
|
||||
|
from . import coop |
||||
|
from . import product |
@ -1,29 +1,29 @@ |
|||||
from odoo import api, models |
|
||||
|
|
||||
|
|
||||
class SubscriptionRequest(models.Model): |
|
||||
_inherit = "subscription.request" |
|
||||
|
|
||||
def get_eater_vals(self, partner, share_product_id): |
|
||||
vals = {} |
|
||||
eater = share_product_id.eater |
|
||||
|
|
||||
if partner.is_company or partner.age < 18: |
|
||||
eater = "eater" |
|
||||
|
|
||||
vals["eater"] = eater |
|
||||
|
|
||||
return vals |
|
||||
|
|
||||
@api.one |
|
||||
def validate_subscription_request(self): |
|
||||
|
|
||||
invoice = super( |
|
||||
SubscriptionRequest, self |
|
||||
).validate_subscription_request()[0] |
|
||||
partner = invoice.partner_id |
|
||||
|
|
||||
vals = self.get_eater_vals(partner, self.share_product_id) |
|
||||
partner.write(vals) |
|
||||
|
|
||||
return invoice |
|
||||
|
from odoo import api, models |
||||
|
|
||||
|
|
||||
|
class SubscriptionRequest(models.Model): |
||||
|
_inherit = "subscription.request" |
||||
|
|
||||
|
def get_eater_vals(self, partner, share_product_id): |
||||
|
vals = {} |
||||
|
eater = share_product_id.eater |
||||
|
|
||||
|
if partner.is_company or partner.age < 18: |
||||
|
eater = "eater" |
||||
|
|
||||
|
vals["eater"] = eater |
||||
|
|
||||
|
return vals |
||||
|
|
||||
|
@api.one |
||||
|
def validate_subscription_request(self): |
||||
|
|
||||
|
invoice = super( |
||||
|
SubscriptionRequest, self |
||||
|
).validate_subscription_request()[0] |
||||
|
partner = invoice.partner_id |
||||
|
|
||||
|
vals = self.get_eater_vals(partner, self.share_product_id) |
||||
|
partner.write(vals) |
||||
|
|
||||
|
return invoice |
@ -1,10 +1,10 @@ |
|||||
from odoo import fields, models |
|
||||
|
|
||||
|
|
||||
class ProductTemplate(models.Model): |
|
||||
_inherit = "product.template" |
|
||||
|
|
||||
eater = fields.Selection( |
|
||||
[("eater", "Eater"), ("worker_eater", "Worker and Eater")], |
|
||||
string="Eater/Worker", |
|
||||
) |
|
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class ProductTemplate(models.Model): |
||||
|
_inherit = "product.template" |
||||
|
|
||||
|
eater = fields.Selection( |
||||
|
[("eater", "Eater"), ("worker_eater", "Worker and Eater")], |
||||
|
string="Eater/Worker", |
||||
|
) |
@ -1,13 +1,13 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<record id="product_template_form_view_eater" model="ir.ui.view"> |
|
||||
<field name="name">product.template.share.form</field> |
|
||||
<field name="model">product.template</field> |
|
||||
<field name="inherit_id" ref="easy_my_coop.product_template_share_form_view"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//field[@name='minimum_quantity']" position="after"> |
|
||||
<field name="eater" attrs="{'invisible':[('is_share','=',False)]}"/> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record id="product_template_form_view_eater" model="ir.ui.view"> |
||||
|
<field name="name">product.template.share.form</field> |
||||
|
<field name="model">product.template</field> |
||||
|
<field name="inherit_id" ref="easy_my_coop.product_template_share_form_view"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='minimum_quantity']" position="after"> |
||||
|
<field name="eater" attrs="{'invisible':[('is_share','=',False)]}"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import wizard |
from . import wizard |
@ -1,3 +1,2 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
* Houssine BAKKALI, <houssine@coopiteasy.be> |
* Houssine BAKKALI, <houssine@coopiteasy.be> |
||||
|
|
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import export_global_wizard |
from . import export_global_wizard |
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1,2 +1,2 @@ |
|||||
from . import coop |
|
||||
from . import partner |
|
||||
|
from . import coop |
||||
|
from . import partner |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,49 +1,49 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<template id="certificate_i18n_fr" inherit_id="easy_my_coop.cooperator_certificat_G001_document" name="French Layout Certificate"> |
|
||||
<xpath expr="//p[@name='label_coop_number']" position="replace"> |
|
||||
<p name="label_coop_number" class="mt16"> |
|
||||
<span>Ce document atteste de la souscription de parts sociales au capital de la SAS Coopérative à Capital Variable SuperQuinquin par </span> |
|
||||
<b><span t-field="o.name"></span></b> |
|
||||
<span>, enregistré(e) sous le <b>numéro de coopérateur </b></span> |
|
||||
<span t-field="o.cooperator_register_number"></span> |
|
||||
</p> |
|
||||
</xpath> |
|
||||
|
|
||||
<xpath expr="//div[@name='total_table']" position="after"> |
|
||||
<div name="legal_text" style="position:relative;top:145px;font-size:12;"> |
|
||||
<div>Ce document atteste d’une souscription en numéraire au capital d’une société, répondant à la définition communautaire de la Petite et Moyenne Entreprise, dont les titres ne sont pas admis aux négociations sur un marché d’instruments financiers français ou étranger en application de l’article 199 terdecies 0A du CGI.<br/> |
|
||||
Conformément aux statuts, les souscriptions de parts sociales de type A et B n’ouvre pas droit à rémunération.<br/> |
|
||||
La société remplit les conditions mentionnées aux c, d et e du 2° du I de l’article 199 terdecies-0 A du code général des impôts : <br/> |
|
||||
c) La société est soumise à l’impôt sur les sociétés dans les conditions de droit commun ;<br/> |
|
||||
<br/> |
|
||||
c bis) La société compte au moins deux salariés à la clôture de son premier exercice ou un salarié si elle est soumise à l’obligation de s’inscrire à la chambre de métiers et de l’artisanat ;<br/> |
|
||||
<br/> |
|
||||
d) La société exerce une activité commerciale, industrielle, artisanale, libérale ou agricole, à l’exclusion des activités procurant des revenus garantis en raison de l’existence d’un tarif réglementé de rachat de la production, des activités financières, des activités de gestion de patrimoine mobilier définie à l’article 885 O quater et des activités immobilières. Toutefois, les exclusions relatives à l’exercice d’une activité financière ou immobilière ne sont pas applicables aux entreprises solidaires mentionnées à l’article L. 3332-17-1 du code du travail.<br/> |
|
||||
La société n’exerce pas une activité de production d’électricité utilisant l’énergie radiative du soleil ;<br/> |
|
||||
<br/> |
|
||||
d bis) Les actifs de la société ne sont pas constitués de façon prépondérante de métaux précieux, d’œuvres d’art, d’objets de collection, d’antiquités, de chevaux de course ou de concours ou, sauf si l’objet même de son activité consiste en leur consommation ou en leur vente au détail, de vins ou d’alcools ;<br/> |
|
||||
<br/> |
|
||||
d ter) Les souscriptions au capital de la société confèrent aux souscripteurs les seuls droits résultant de la qualité d’actionnaire ou d’associé, à l’exclusion de toute autre contrepartie notamment sous la forme de tarifs préférentiels ou d’accès prioritaire aux biens produits ou aux services rendus par la société ;<br/> |
|
||||
<br/> |
|
||||
e) La société doit être une petite et moyenne entreprise qui satisfait à la définition des petites et moyennes entreprises qui figure à l’annexe I au règlement (CE) n° 800/2008 de la Commission du 6 août 2008 déclarant certaines catégories d’aide compatibles avec le marché commun en application des articles 87 et 88 du traité (Règlement général d’exemption par catégorie) ;<br/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
<xpath expr="//div[@name='board_commitee']" position="replace"> |
|
||||
<div name="" class="col-xs-6 pull-left" style="position:relative;top:105px;font-size:20;color:black;font-family:Roboto-Regular;"> |
|
||||
<div style="position:relative;top:105px;"> |
|
||||
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>. |
|
||||
</div> |
|
||||
<div style="position:relative;top:110px;"> |
|
||||
<strong><span t-field="o.company_id.board_representative"/></strong> |
|
||||
</div> |
|
||||
<div style="position:relative;top:115px;"> |
|
||||
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan" style="width:240px;height:180px;padding-bottom:5px;"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<template id="certificate_i18n_fr" inherit_id="easy_my_coop.cooperator_certificat_G001_document" name="French Layout Certificate"> |
||||
|
<xpath expr="//p[@name='label_coop_number']" position="replace"> |
||||
|
<p name="label_coop_number" class="mt16"> |
||||
|
<span>Ce document atteste de la souscription de parts sociales au capital de la SAS Coopérative à Capital Variable SuperQuinquin par </span> |
||||
|
<b><span t-field="o.name"></span></b> |
||||
|
<span>, enregistré(e) sous le <b>numéro de coopérateur </b></span> |
||||
|
<span t-field="o.cooperator_register_number"></span> |
||||
|
</p> |
||||
|
</xpath> |
||||
|
|
||||
|
<xpath expr="//div[@name='total_table']" position="after"> |
||||
|
<div name="legal_text" style="position:relative;top:145px;font-size:12;"> |
||||
|
<div>Ce document atteste d’une souscription en numéraire au capital d’une société, répondant à la définition communautaire de la Petite et Moyenne Entreprise, dont les titres ne sont pas admis aux négociations sur un marché d’instruments financiers français ou étranger en application de l’article 199 terdecies 0A du CGI.<br/> |
||||
|
Conformément aux statuts, les souscriptions de parts sociales de type A et B n’ouvre pas droit à rémunération.<br/> |
||||
|
La société remplit les conditions mentionnées aux c, d et e du 2° du I de l’article 199 terdecies-0 A du code général des impôts : <br/> |
||||
|
c) La société est soumise à l’impôt sur les sociétés dans les conditions de droit commun ;<br/> |
||||
|
<br/> |
||||
|
c bis) La société compte au moins deux salariés à la clôture de son premier exercice ou un salarié si elle est soumise à l’obligation de s’inscrire à la chambre de métiers et de l’artisanat ;<br/> |
||||
|
<br/> |
||||
|
d) La société exerce une activité commerciale, industrielle, artisanale, libérale ou agricole, à l’exclusion des activités procurant des revenus garantis en raison de l’existence d’un tarif réglementé de rachat de la production, des activités financières, des activités de gestion de patrimoine mobilier définie à l’article 885 O quater et des activités immobilières. Toutefois, les exclusions relatives à l’exercice d’une activité financière ou immobilière ne sont pas applicables aux entreprises solidaires mentionnées à l’article L. 3332-17-1 du code du travail.<br/> |
||||
|
La société n’exerce pas une activité de production d’électricité utilisant l’énergie radiative du soleil ;<br/> |
||||
|
<br/> |
||||
|
d bis) Les actifs de la société ne sont pas constitués de façon prépondérante de métaux précieux, d’œuvres d’art, d’objets de collection, d’antiquités, de chevaux de course ou de concours ou, sauf si l’objet même de son activité consiste en leur consommation ou en leur vente au détail, de vins ou d’alcools ;<br/> |
||||
|
<br/> |
||||
|
d ter) Les souscriptions au capital de la société confèrent aux souscripteurs les seuls droits résultant de la qualité d’actionnaire ou d’associé, à l’exclusion de toute autre contrepartie notamment sous la forme de tarifs préférentiels ou d’accès prioritaire aux biens produits ou aux services rendus par la société ;<br/> |
||||
|
<br/> |
||||
|
e) La société doit être une petite et moyenne entreprise qui satisfait à la définition des petites et moyennes entreprises qui figure à l’annexe I au règlement (CE) n° 800/2008 de la Commission du 6 août 2008 déclarant certaines catégories d’aide compatibles avec le marché commun en application des articles 87 et 88 du traité (Règlement général d’exemption par catégorie) ;<br/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
<xpath expr="//div[@name='board_commitee']" position="replace"> |
||||
|
<div name="" class="col-xs-6 pull-left" style="position:relative;top:105px;font-size:20;color:black;font-family:Roboto-Regular;"> |
||||
|
<div style="position:relative;top:105px;"> |
||||
|
Pour le Conseil d'administration de <span t-field="o.company_id.name"/>. |
||||
|
</div> |
||||
|
<div style="position:relative;top:110px;"> |
||||
|
<strong><span t-field="o.company_id.board_representative"/></strong> |
||||
|
</div> |
||||
|
<div style="position:relative;top:115px;"> |
||||
|
<img t-if="o.company_id.signature_scan" t-att-src="'data:image/png;base64,%s' % o.company_id.signature_scan" style="width:240px;height:180px;padding-bottom:5px;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</odoo> |
@ -1,14 +1,13 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<template id="layout_i18n_fr" inherit_id="theme_light.invoice_footer" name="French Layout Customization"> |
|
||||
<xpath expr="//t[@t-if='company.company_registry']" position="before"> |
|
||||
<t t-if="company.siret"> |
|
||||
<span>Siret</span> : |
|
||||
<span t-field="company.siret"/> |
|
||||
</t> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<template id="layout_i18n_fr" inherit_id="theme_light.invoice_footer" name="French Layout Customization"> |
||||
|
<xpath expr="//t[@t-if='company.company_registry']" position="before"> |
||||
|
<t t-if="company.siret"> |
||||
|
<span>Siret</span> : |
||||
|
<span t-field="company.siret"/> |
||||
|
</t> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</odoo> |
@ -1,14 +1,14 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<template id="subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields"> |
|
||||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
<template id="company_subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields"> |
|
||||
<xpath expr="//label[@for='iban']/.." position="replace"> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<template id="subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecooperator" name="Removing fields"> |
||||
|
<xpath expr="//label[@for='iban']/.." position="replace"> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<template id="company_subscription_i18n_fr" inherit_id="easy_my_coop_website.becomecompanycooperator" name="Company Removing fields"> |
||||
|
<xpath expr="//label[@for='iban']/.." position="replace"> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
</data> |
||||
|
</odoo> |
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,7 +1,7 @@ |
|||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
|
||||
access_loan_issue_user,loan.issue,model_loan_issue,base.group_user,1,0,0,0 |
|
||||
access_loan_issue_manager,loan.issue,model_loan_issue,easy_my_coop.group_easy_my_coop_manager,1,1,1,0 |
|
||||
access_loan_issue_line_user,loan.issue.line,model_loan_issue_line,base.group_user,1,0,0,0 |
|
||||
access_loan_issue_line_manager,loan.issue.line,model_loan_issue_line,easy_my_coop.group_easy_my_coop_user,1,1,1,0 |
|
||||
access_loan_interest_line_user,loan.interest.line,model_loan_interest_line,base.group_user,1,0,0,0 |
|
||||
access_loan_interest_line_manager,loan.interest.line,model_loan_interest_line,easy_my_coop.group_easy_my_coop_manager,1,1,1,0 |
|
||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
||||
|
access_loan_issue_user,loan.issue,model_loan_issue,base.group_user,1,0,0,0 |
||||
|
access_loan_issue_manager,loan.issue,model_loan_issue,easy_my_coop.group_easy_my_coop_manager,1,1,1,0 |
||||
|
access_loan_issue_line_user,loan.issue.line,model_loan_issue_line,base.group_user,1,0,0,0 |
||||
|
access_loan_issue_line_manager,loan.issue.line,model_loan_issue_line,easy_my_coop.group_easy_my_coop_user,1,1,1,0 |
||||
|
access_loan_interest_line_user,loan.interest.line,model_loan_interest_line,base.group_user,1,0,0,0 |
||||
|
access_loan_interest_line_manager,loan.interest.line,model_loan_interest_line,easy_my_coop.group_easy_my_coop_manager,1,1,1,0 |
@ -1,51 +1,51 @@ |
|||||
<?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> |
|
||||
<record id="view_partner_form_loan_issue" model="ir.ui.view"> |
|
||||
<field name="name">res.partner.form.loan.issue</field> |
|
||||
<field name="model">res.partner</field> |
|
||||
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<page name="share_subscription" position="after"> |
|
||||
<page string="Loan issue lines" name="loan_issue_lines" groups="easy_my_coop.group_easy_my_coop_user"> |
|
||||
<group> |
|
||||
<field name="is_loaner"/> |
|
||||
</group> |
|
||||
<field name="loan_line_ids"> |
|
||||
<tree> |
|
||||
<!-- <tree create="false" delete="false" edit="false">--> |
|
||||
<field name="loan_issue_id"/> |
|
||||
<field name="date"/> |
|
||||
<field name="quantity"/> |
|
||||
<field name="face_value"/> |
|
||||
<field name="amount"/> |
|
||||
<field name="state"/> |
|
||||
</tree> |
|
||||
</field> |
|
||||
</page> |
|
||||
</page> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_res_partner_loaner_filter" model="ir.ui.view"> |
|
||||
<field name="name">res.partner.select</field> |
|
||||
<field name="model">res.partner</field> |
|
||||
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//filter[@name='supplier']" position='after'> |
|
||||
<filter string="Loaners" name="loaners" domain="[('is_loaner','=',1)]" help="Loaning Partners"/> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="action_loaners" model="ir.actions.act_window"> |
|
||||
<field name="name">Loaners</field> |
|
||||
<field name="res_model">res.partner</field> |
|
||||
<field name="view_type">form</field> |
|
||||
<field name="view_mode">kanban,tree,form</field> |
|
||||
<field name="context">{'search_default_loaners':1}</field> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<?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> |
||||
|
<record id="view_partner_form_loan_issue" model="ir.ui.view"> |
||||
|
<field name="name">res.partner.form.loan.issue</field> |
||||
|
<field name="model">res.partner</field> |
||||
|
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<page name="share_subscription" position="after"> |
||||
|
<page string="Loan issue lines" name="loan_issue_lines" groups="easy_my_coop.group_easy_my_coop_user"> |
||||
|
<group> |
||||
|
<field name="is_loaner"/> |
||||
|
</group> |
||||
|
<field name="loan_line_ids"> |
||||
|
<tree> |
||||
|
<!-- <tree create="false" delete="false" edit="false">--> |
||||
|
<field name="loan_issue_id"/> |
||||
|
<field name="date"/> |
||||
|
<field name="quantity"/> |
||||
|
<field name="face_value"/> |
||||
|
<field name="amount"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</page> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_res_partner_loaner_filter" model="ir.ui.view"> |
||||
|
<field name="name">res.partner.select</field> |
||||
|
<field name="model">res.partner</field> |
||||
|
<field name="inherit_id" ref="base.view_res_partner_filter"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//filter[@name='supplier']" position='after'> |
||||
|
<filter string="Loaners" name="loaners" domain="[('is_loaner','=',1)]" help="Loaning Partners"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="action_loaners" model="ir.actions.act_window"> |
||||
|
<field name="name">Loaners</field> |
||||
|
<field name="res_model">res.partner</field> |
||||
|
<field name="view_type">form</field> |
||||
|
<field name="view_mode">kanban,tree,form</field> |
||||
|
<field name="context">{'search_default_loaners':1}</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -1 +1 @@ |
|||||
from . import controllers |
|
||||
|
from . import controllers |
@ -1 +1 @@ |
|||||
from . import main |
|
||||
|
from . import main |
@ -1,16 +1,16 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<data> |
|
||||
<record id="menu_subscribeloanissue" model="website.menu"> |
|
||||
<field name="name">Subscribe to loan issue</field> |
|
||||
<field name="url">/subscription/loan_issue_form</field> |
|
||||
<field name="parent_id" ref="website.main_menu"/> |
|
||||
<field name="sequence" type="int">65</field> |
|
||||
</record> |
|
||||
<record id="subscribe_loan_issue_page" model="website.page"> |
|
||||
<field name="website_published">True</field> |
|
||||
<field name="url">/subscription/loan_issue_form</field> |
|
||||
<field name="view_id" ref="menu_subscribeloanissue"/> |
|
||||
</record> |
|
||||
</data> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="menu_subscribeloanissue" model="website.menu"> |
||||
|
<field name="name">Subscribe to loan issue</field> |
||||
|
<field name="url">/subscription/loan_issue_form</field> |
||||
|
<field name="parent_id" ref="website.main_menu"/> |
||||
|
<field name="sequence" type="int">65</field> |
||||
|
</record> |
||||
|
<record id="subscribe_loan_issue_page" model="website.page"> |
||||
|
<field name="website_published">True</field> |
||||
|
<field name="url">/subscription/loan_issue_form</field> |
||||
|
<field name="view_id" ref="menu_subscribeloanissue"/> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,23 +1,23 @@ |
|||||
odoo.define('easy_my_coop_loan_website.oe_easymy_coop_loan', function (require) { |
odoo.define('easy_my_coop_loan_website.oe_easymy_coop_loan', function (require) { |
||||
$(document).ready(function () { |
|
||||
"use strict"; |
|
||||
var ajax = require('web.ajax'); |
|
||||
|
$(document).ready(function () { |
||||
|
"use strict"; |
||||
|
var ajax = require('web.ajax'); |
||||
|
|
||||
$('.oe_easymy_coop_loan').each(function () { |
|
||||
|
$('.oe_easymy_coop_loan').each(function () { |
||||
var oe_easymy_coop_loan = this; |
var oe_easymy_coop_loan = this; |
||||
$('#loan_issue').change(function () { |
$('#loan_issue').change(function () { |
||||
var loan_issue_id = $("#loan_issue").val(); |
var loan_issue_id = $("#loan_issue").val(); |
||||
ajax.jsonRpc("/subscription/get_loan_issue", 'call', { |
ajax.jsonRpc("/subscription/get_loan_issue", 'call', { |
||||
'loan_issue_id': loan_issue_id |
|
||||
|
'loan_issue_id': loan_issue_id, |
||||
}) |
}) |
||||
.then(function (data) { |
.then(function (data) { |
||||
if (data !== false) { |
if (data !== false) { |
||||
$("#subscription_amount").prop('max',data[loan_issue_id].maximum_amount_per_sub); |
|
||||
$("#subscription_amount").prop('step',data[loan_issue_id].face_value); |
|
||||
|
$("#subscription_amount").prop('max', data[loan_issue_id].maximum_amount_per_sub); |
||||
|
$("#subscription_amount").prop('step', data[loan_issue_id].face_value); |
||||
} |
} |
||||
}); |
}); |
||||
}); |
}); |
||||
$('#loan_issue').trigger('change'); |
$('#loan_issue').trigger('change'); |
||||
}); |
|
||||
|
}); |
||||
|
}); |
||||
}); |
}); |
||||
}); |
|
@ -1,54 +1,54 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<template id="assets_frontend" inherit_id="web.assets_frontend" name="Coop"> |
|
||||
<xpath expr="." position="inside"> |
|
||||
<script type="text/javascript" src="/easy_my_coop_loan_website/static/src/js/loan_issue.js"></script> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
<template id="loanissuesubscription" name="Loan Issue Subscription"> |
|
||||
<t t-call="website.layout"> |
|
||||
<div id="wrap"> |
|
||||
<div class="oe_structure"/> |
|
||||
<div class="container oe_easymy_coop_loan"> |
|
||||
<h2 class="energie">Subscribe to Loan Issue</h2><br/> |
|
||||
<div class="row"> |
|
||||
<div class="col-md-8"> |
|
||||
<form action="/subscription/subscribe_loan_issue" method="post" class="form-horizontal mt32" enctype="multipart/form-data"> |
|
||||
<p style="color:red;"><t t-esc="error_msg"/></p> |
|
||||
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/> |
|
||||
|
|
||||
<div t-attf-class="form-group #{error and 'loan_issue_id' in error and 'has-error' or ''}"> |
|
||||
<label class="col-md-3 col-sm-4 control-label" style="width:25%" for="share_product_id">Loan issue</label> |
|
||||
<select id="loan_issue" name="loan_issue_id" class="col-md-7 col-sm-8 form-control" style="width:54%;margin-left:15px"> |
|
||||
<t t-foreach="loan_issues or []" t-as="loan_issue"> |
|
||||
<option t-att-value="loan_issue.id" t-att-selected="loan_issue.id == int(loan_issue_id)"><t t-esc="loan_issue.name"/></option> |
|
||||
</t> |
|
||||
</select> |
|
||||
</div> |
|
||||
<div t-attf-class="form-group #{error and 'subscription_amount' in error and 'has-error' or ''}"> |
|
||||
<label class="col-md-3 col-sm-4 control-label" style="width:25%" for="subscription_amount">Amount</label> |
|
||||
<input id="subscription_amount" type="number" class="col-md-7 col-sm-8 form-control total" name="subscription_amount" min="0" step="100" max="5000"/> |
|
||||
</div> |
|
||||
<table style="margin-left:195px"> |
|
||||
<tr> |
|
||||
<!--<td width="80%"> |
|
||||
<div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_key_site" data-theme="green"/><br/> |
|
||||
</td>--> |
|
||||
<td> |
|
||||
<div class="form-group"> |
|
||||
<div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7"> |
|
||||
<button class="btn btn-primary btn-lg">Send</button> |
|
||||
</div> |
|
||||
</div> |
|
||||
</td> |
|
||||
</tr> |
|
||||
</table> |
|
||||
</form> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</t> |
|
||||
</template> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<template id="assets_frontend" inherit_id="web.assets_frontend" name="Coop"> |
||||
|
<xpath expr="." position="inside"> |
||||
|
<script type="text/javascript" src="/easy_my_coop_loan_website/static/src/js/loan_issue.js"></script> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<template id="loanissuesubscription" name="Loan Issue Subscription"> |
||||
|
<t t-call="website.layout"> |
||||
|
<div id="wrap"> |
||||
|
<div class="oe_structure"/> |
||||
|
<div class="container oe_easymy_coop_loan"> |
||||
|
<h2 class="energie">Subscribe to Loan Issue</h2><br/> |
||||
|
<div class="row"> |
||||
|
<div class="col-md-8"> |
||||
|
<form action="/subscription/subscribe_loan_issue" method="post" class="form-horizontal mt32" enctype="multipart/form-data"> |
||||
|
<p style="color:red;"><t t-esc="error_msg"/></p> |
||||
|
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/> |
||||
|
|
||||
|
<div t-attf-class="form-group #{error and 'loan_issue_id' in error and 'has-error' or ''}"> |
||||
|
<label class="col-md-3 col-sm-4 control-label" style="width:25%" for="share_product_id">Loan issue</label> |
||||
|
<select id="loan_issue" name="loan_issue_id" class="col-md-7 col-sm-8 form-control" style="width:54%;margin-left:15px"> |
||||
|
<t t-foreach="loan_issues or []" t-as="loan_issue"> |
||||
|
<option t-att-value="loan_issue.id" t-att-selected="loan_issue.id == int(loan_issue_id)"><t t-esc="loan_issue.name"/></option> |
||||
|
</t> |
||||
|
</select> |
||||
|
</div> |
||||
|
<div t-attf-class="form-group #{error and 'subscription_amount' in error and 'has-error' or ''}"> |
||||
|
<label class="col-md-3 col-sm-4 control-label" style="width:25%" for="subscription_amount">Amount</label> |
||||
|
<input id="subscription_amount" type="number" class="col-md-7 col-sm-8 form-control total" name="subscription_amount" min="0" step="100" max="5000"/> |
||||
|
</div> |
||||
|
<table style="margin-left:195px"> |
||||
|
<tr> |
||||
|
<!--<td width="80%"> |
||||
|
<div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_key_site" data-theme="green"/><br/> |
||||
|
</td>--> |
||||
|
<td> |
||||
|
<div class="form-group"> |
||||
|
<div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7"> |
||||
|
<button class="btn btn-primary btn-lg">Send</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</form> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1 +1 @@ |
|||||
from . import controllers |
|
||||
|
from . import controllers |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import controllers |
from . import controllers |
@ -1,2 +1 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
from . import main |
from . import main |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,2 +1 @@ |
|||||
# -*- coding: utf8 -*- |
|
||||
from . import controllers |
from . import controllers |
@ -1,2 +1 @@ |
|||||
# -*- coding: utf-8 -*- |
|
||||
from . import main |
from . import main |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1 +1 @@ |
|||||
from . import models |
|
||||
|
from . import models |
@ -1 +1 @@ |
|||||
from . import partner |
|
||||
|
from . import partner |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,24 +1,24 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<record id="view_partner_from_age" model="ir.ui.view"> |
|
||||
<field name="name">res.partner.form.age</field> |
|
||||
<field name="model">res.partner</field> |
|
||||
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//field[@name='birthdate_date']" position='after'> |
|
||||
<field name="age" attrs="{'invisible':[('is_company','=',True)]}"/> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
|
|
||||
<record id="view_partner_tree_age" model="ir.ui.view"> |
|
||||
<field name="name">res.partner.tree.easy_my_coop</field> |
|
||||
<field name="model">res.partner</field> |
|
||||
<field name="inherit_id" ref="easy_my_coop.view_partner_tree_easy_my_coop"/> |
|
||||
<field name="arch" type="xml"> |
|
||||
<xpath expr="//field[@name='cooperator_type']" position='after'> |
|
||||
<field name="age"/> |
|
||||
</xpath> |
|
||||
</field> |
|
||||
</record> |
|
||||
</odoo> |
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<record id="view_partner_from_age" model="ir.ui.view"> |
||||
|
<field name="name">res.partner.form.age</field> |
||||
|
<field name="model">res.partner</field> |
||||
|
<field name="inherit_id" ref="easy_my_coop.view_partner_form_easy_my_coop"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='birthdate_date']" position='after'> |
||||
|
<field name="age" attrs="{'invisible':[('is_company','=',True)]}"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_partner_tree_age" model="ir.ui.view"> |
||||
|
<field name="name">res.partner.tree.easy_my_coop</field> |
||||
|
<field name="model">res.partner</field> |
||||
|
<field name="inherit_id" ref="easy_my_coop.view_partner_tree_easy_my_coop"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='cooperator_type']" position='after'> |
||||
|
<field name="age"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
@ -1,206 +1,205 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||
<odoo> |
|
||||
<!-- ****************** POUR IMPRESSION FACTURE **************** --> |
|
||||
<template id="theme_light.layout" inherit_id="web.layout" primary="True"> |
|
||||
<!-- Add report attributes --> |
|
||||
<xpath expr="//html" position="attributes"> |
|
||||
<attribute name="t-att-data-report-margin-top">data_report_margin_top if data_report_margin_top else None</attribute> |
|
||||
<attribute name="t-att-data-report-header-spacing">data_report_header_spacing if data_report_header_spacing else None</attribute> |
|
||||
<attribute name="t-att-data-report-dpi">data_report_dpi if data_report_dpi else None</attribute> |
|
||||
</xpath> |
|
||||
<!-- Add report style --> |
|
||||
<xpath expr="//head" position="inside"> |
|
||||
<link href="/web/static/lib/bootstrap/css/bootstrap.css" rel="stylesheet"/> |
|
||||
<link href="/website/static/src/css/website.css" rel="stylesheet"/> |
|
||||
<link href="/web/static/lib/fontawesome/css/font-awesome.css" rel="stylesheet"/> |
|
||||
<link href="/theme_light/static/css/invoice_orange.css" rel="stylesheet"/> |
|
||||
<style type="text/css"> |
|
||||
<t t-call="theme_light.style"/> |
|
||||
</style> |
|
||||
</xpath> |
|
||||
</template> |
|
||||
|
|
||||
<!-- CSS --> |
|
||||
<template id="style"> |
|
||||
/* Montserrat */ |
|
||||
@font-face { |
|
||||
font-family: 'Montserrat-Regular'; |
|
||||
font-style: normal; |
|
||||
src: local('Montserrat Regular'), url('/theme_light/static/font/Montserrat-Regular.ttf') format('truetype'); |
|
||||
} |
|
||||
/* Roboto Regular */ |
|
||||
@font-face { |
|
||||
font-family: 'Roboto-Regular'; |
|
||||
font-style: normal; |
|
||||
src: local('Roboto Regular'), url('/theme_light/static/font/Roboto-Regular.ttf') format('truetype'); |
|
||||
} |
|
||||
/* Roboto Bold */ |
|
||||
@font-face { |
|
||||
font-family: 'Roboto-Bold'; |
|
||||
font-style: normal; |
|
||||
src: local('Roboto Bold'), url('/theme_light/static/font/Roboto-Bold.ttf') format('truetype'); |
|
||||
} |
|
||||
/* BEBASNEUE Bold */ |
|
||||
@font-face { |
|
||||
font-family: 'Bebasneue-Bold'; |
|
||||
font-style: normal; |
|
||||
src: local('Bebasneue-Bold'), url('/theme_light/static/font/BEBASNEUE_BOLD.ttf') format('truetype'); |
|
||||
} |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.html_container"> |
|
||||
<t t-set="body_classname" t-value="'container'"/> |
|
||||
<t t-call="theme_light.layout"> |
|
||||
<t t-raw="0"/> |
|
||||
</t> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.invoice_footer"> |
|
||||
<div class="footer"> |
|
||||
<table style="width: 100%;font-size:13;color:black;font-family:Roboto-Regular;text-align:center"> |
|
||||
<tr style="height:20px;"> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
<t t-if="company.display_logo1"> |
|
||||
<td rowspan="5" style="padding-left:15px;text-align:center;width:135px;border-left:1px solid #adadad" > |
|
||||
<img t-if="company.bottom_logo1" t-att-src="'data:image/png;base64,%s' % company.bottom_logo1" style="width:98px;height:auto;padding-bottom:5px;"/> |
|
||||
<img t-if="not company.bottom_logo1" src="/theme_light/static/img/gallery/label_fin.jpg" style="width:98px;height:auto;padding-bottom:5px;"/> |
|
||||
</td> |
|
||||
</t> |
|
||||
<t t-if="company.display_logo2"> |
|
||||
<td rowspan="5" style="padding-left:15px;text-align:center;width:135px;border-left:1px solid #adadad" > |
|
||||
<img t-if="company.bottom_logo2" t-att-src="'data:image/png;base64,%s' % company.bottom_logo2" style="width:162px;height:auto;padding-bottom:5px;"/> |
|
||||
<img t-if="not company.bottom_logo2" src="/theme_light/static/img/gallery/cnc_agree.jpg" style="width:162px;height:auto;padding-bottom:5px;"/> |
|
||||
</td> |
|
||||
</t> |
|
||||
</tr> |
|
||||
<tr style="height:20px;"> |
|
||||
<td style="align: left;"> |
|
||||
<t t-if="company.rml_header1"> |
|
||||
<span t-field="company.rml_header1"/> - |
|
||||
</t> |
|
||||
<b><span t-field="company.name"/></b> |
|
||||
</td> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
</tr> |
|
||||
<tr style="height:20px"> |
|
||||
<td style="align: left;"> |
|
||||
<span t-field="company.partner_id.street"/> - |
|
||||
<t t-if="company.partner_id.street2"> |
|
||||
<span t-field="company.partner_id.street2"/> - |
|
||||
</t> |
|
||||
<span t-field="company.partner_id.zip"/> |
|
||||
<span t-field="company.partner_id.city"/> |
|
||||
</td> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
</tr> |
|
||||
<tr style="height:20px"> |
|
||||
<td style="align: left;"> |
|
||||
<t t-if="company.company_registry"> |
|
||||
<span>N.Entr.</span> : |
|
||||
<span t-field="company.company_registry"/> |
|
||||
</t> |
|
||||
<t t-if="company.vat"> |
|
||||
- |
|
||||
<span>VAT Number</span> : |
|
||||
<span t-field="company.vat"/> |
|
||||
</t> |
|
||||
<t t-foreach="o.company_id.bank_journal_ids" t-as="journal"> |
|
||||
<t t-set="b" t-value="journal.bank_account_id"/> |
|
||||
<t t-if="journal.display_on_footer"> |
|
||||
- |
|
||||
<span t-field="b.bank_name"/> |
|
||||
<span t-field="b.acc_number"/> |
|
||||
<span t-field="b.bank_bic"/> |
|
||||
</t> |
|
||||
</t> |
|
||||
</td> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
<td/> |
|
||||
</tr> |
|
||||
</table> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.invoice_footer_002"> |
|
||||
<div class="footer"> |
|
||||
<table style="width: 100%;font-size:13;color :black;font-family:Montserrat-Regular;text-align:center"> |
|
||||
<tr style="height:20px;"> |
|
||||
<td width="85%"></td> |
|
||||
<td rowspan="5" style="padding-left:15px;text-align:center;width:260px;border-left:1px solid #adadad" > |
|
||||
<img src="/theme_light/static/img/gallery/cnc_agree.png" style="max-height: 80px;padding-bottom:5px;"/> |
|
||||
<div style="color :#adadad;" t-field="company.company_registry"/> |
|
||||
</td> |
|
||||
</tr> |
|
||||
</table> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.invoice_header"> |
|
||||
<div> |
|
||||
<div class="row"> |
|
||||
<div class="col-xs-3"> |
|
||||
<img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="height: 113px;"/> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.invoice_layout"> |
|
||||
<!-- Multicompany --> |
|
||||
<t t-if="o and 'company_id' in o"> |
|
||||
<t t-set="company" t-value="o.company_id"></t> |
|
||||
</t> |
|
||||
<t t-if="not o or not 'company_id' in o"> |
|
||||
<t t-set="company" t-value="res_company"></t> |
|
||||
</t> |
|
||||
<t t-raw="0" /> |
|
||||
<t t-call="theme_light.invoice_footer" /> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.invoice_layout_002"> |
|
||||
<!-- Multicompany --> |
|
||||
<t t-if="o and 'company_id' in o"> |
|
||||
<t t-set="company" t-value="o.company_id"></t> |
|
||||
</t> |
|
||||
<t t-if="not o or not 'company_id' in o"> |
|
||||
<t t-set="company" t-value="res_company"></t> |
|
||||
</t> |
|
||||
<t t-raw="0" /> |
|
||||
<t t-call="theme_light.invoice_footer_002" /> |
|
||||
</template> |
|
||||
|
|
||||
|
|
||||
<template id="theme_light.report_footer_002"> |
|
||||
<div class="footer"> |
|
||||
<table style="width: 100%;font-size:13;color :black;font-family:Montserrat-Regular;text-align:center"> |
|
||||
<tr style="height:20px;"> |
|
||||
<td width="90%"></td> |
|
||||
<td rowspan="5" style="padding-left:15px;text-align:center;width:260px;border-left:1px solid #adadad" > |
|
||||
Page : |
|
||||
<span class="page"/> |
|
||||
</td> |
|
||||
</tr> |
|
||||
</table> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<template id="theme_light.report_layout_002"> |
|
||||
<!-- Multicompany --> |
|
||||
<t t-if="o and 'company_id' in o"> |
|
||||
<t t-set="company" t-value="o.company_id"></t> |
|
||||
</t> |
|
||||
<t t-if="not o or not 'company_id' in o"> |
|
||||
<t t-set="company" t-value="res_company"></t> |
|
||||
</t> |
|
||||
|
|
||||
<t t-raw="0" /> |
|
||||
<t t-call="theme_light.report_footer_002" /> |
|
||||
</template> |
|
||||
</odoo> |
|
||||
|
|
||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- ****************** POUR IMPRESSION FACTURE **************** --> |
||||
|
<template id="theme_light.layout" inherit_id="web.layout" primary="True"> |
||||
|
<!-- Add report attributes --> |
||||
|
<xpath expr="//html" position="attributes"> |
||||
|
<attribute name="t-att-data-report-margin-top">data_report_margin_top if data_report_margin_top else None</attribute> |
||||
|
<attribute name="t-att-data-report-header-spacing">data_report_header_spacing if data_report_header_spacing else None</attribute> |
||||
|
<attribute name="t-att-data-report-dpi">data_report_dpi if data_report_dpi else None</attribute> |
||||
|
</xpath> |
||||
|
<!-- Add report style --> |
||||
|
<xpath expr="//head" position="inside"> |
||||
|
<link href="/web/static/lib/bootstrap/css/bootstrap.css" rel="stylesheet"/> |
||||
|
<link href="/website/static/src/css/website.css" rel="stylesheet"/> |
||||
|
<link href="/web/static/lib/fontawesome/css/font-awesome.css" rel="stylesheet"/> |
||||
|
<link href="/theme_light/static/css/invoice_orange.css" rel="stylesheet"/> |
||||
|
<style type="text/css"> |
||||
|
<t t-call="theme_light.style"/> |
||||
|
</style> |
||||
|
</xpath> |
||||
|
</template> |
||||
|
|
||||
|
<!-- CSS --> |
||||
|
<template id="style"> |
||||
|
/* Montserrat */ |
||||
|
@font-face { |
||||
|
font-family: 'Montserrat-Regular'; |
||||
|
font-style: normal; |
||||
|
src: local('Montserrat Regular'), url('/theme_light/static/font/Montserrat-Regular.ttf') format('truetype'); |
||||
|
} |
||||
|
/* Roboto Regular */ |
||||
|
@font-face { |
||||
|
font-family: 'Roboto-Regular'; |
||||
|
font-style: normal; |
||||
|
src: local('Roboto Regular'), url('/theme_light/static/font/Roboto-Regular.ttf') format('truetype'); |
||||
|
} |
||||
|
/* Roboto Bold */ |
||||
|
@font-face { |
||||
|
font-family: 'Roboto-Bold'; |
||||
|
font-style: normal; |
||||
|
src: local('Roboto Bold'), url('/theme_light/static/font/Roboto-Bold.ttf') format('truetype'); |
||||
|
} |
||||
|
/* BEBASNEUE Bold */ |
||||
|
@font-face { |
||||
|
font-family: 'Bebasneue-Bold'; |
||||
|
font-style: normal; |
||||
|
src: local('Bebasneue-Bold'), url('/theme_light/static/font/BEBASNEUE_BOLD.ttf') format('truetype'); |
||||
|
} |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.html_container"> |
||||
|
<t t-set="body_classname" t-value="'container'"/> |
||||
|
<t t-call="theme_light.layout"> |
||||
|
<t t-raw="0"/> |
||||
|
</t> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.invoice_footer"> |
||||
|
<div class="footer"> |
||||
|
<table style="width: 100%;font-size:13;color:black;font-family:Roboto-Regular;text-align:center"> |
||||
|
<tr style="height:20px;"> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
<t t-if="company.display_logo1"> |
||||
|
<td rowspan="5" style="padding-left:15px;text-align:center;width:135px;border-left:1px solid #adadad" > |
||||
|
<img t-if="company.bottom_logo1" t-att-src="'data:image/png;base64,%s' % company.bottom_logo1" style="width:98px;height:auto;padding-bottom:5px;"/> |
||||
|
<img t-if="not company.bottom_logo1" src="/theme_light/static/img/gallery/label_fin.jpg" style="width:98px;height:auto;padding-bottom:5px;"/> |
||||
|
</td> |
||||
|
</t> |
||||
|
<t t-if="company.display_logo2"> |
||||
|
<td rowspan="5" style="padding-left:15px;text-align:center;width:135px;border-left:1px solid #adadad" > |
||||
|
<img t-if="company.bottom_logo2" t-att-src="'data:image/png;base64,%s' % company.bottom_logo2" style="width:162px;height:auto;padding-bottom:5px;"/> |
||||
|
<img t-if="not company.bottom_logo2" src="/theme_light/static/img/gallery/cnc_agree.jpg" style="width:162px;height:auto;padding-bottom:5px;"/> |
||||
|
</td> |
||||
|
</t> |
||||
|
</tr> |
||||
|
<tr style="height:20px;"> |
||||
|
<td style="align: left;"> |
||||
|
<t t-if="company.rml_header1"> |
||||
|
<span t-field="company.rml_header1"/> - |
||||
|
</t> |
||||
|
<b><span t-field="company.name"/></b> |
||||
|
</td> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
</tr> |
||||
|
<tr style="height:20px"> |
||||
|
<td style="align: left;"> |
||||
|
<span t-field="company.partner_id.street"/> - |
||||
|
<t t-if="company.partner_id.street2"> |
||||
|
<span t-field="company.partner_id.street2"/> - |
||||
|
</t> |
||||
|
<span t-field="company.partner_id.zip"/> |
||||
|
<span t-field="company.partner_id.city"/> |
||||
|
</td> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
</tr> |
||||
|
<tr style="height:20px"> |
||||
|
<td style="align: left;"> |
||||
|
<t t-if="company.company_registry"> |
||||
|
<span>N.Entr.</span> : |
||||
|
<span t-field="company.company_registry"/> |
||||
|
</t> |
||||
|
<t t-if="company.vat"> |
||||
|
- |
||||
|
<span>VAT Number</span> : |
||||
|
<span t-field="company.vat"/> |
||||
|
</t> |
||||
|
<t t-foreach="o.company_id.bank_journal_ids" t-as="journal"> |
||||
|
<t t-set="b" t-value="journal.bank_account_id"/> |
||||
|
<t t-if="journal.display_on_footer"> |
||||
|
- |
||||
|
<span t-field="b.bank_name"/> |
||||
|
<span t-field="b.acc_number"/> |
||||
|
<span t-field="b.bank_bic"/> |
||||
|
</t> |
||||
|
</t> |
||||
|
</td> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
<td/> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.invoice_footer_002"> |
||||
|
<div class="footer"> |
||||
|
<table style="width: 100%;font-size:13;color :black;font-family:Montserrat-Regular;text-align:center"> |
||||
|
<tr style="height:20px;"> |
||||
|
<td width="85%"></td> |
||||
|
<td rowspan="5" style="padding-left:15px;text-align:center;width:260px;border-left:1px solid #adadad" > |
||||
|
<img src="/theme_light/static/img/gallery/cnc_agree.png" style="max-height: 80px;padding-bottom:5px;"/> |
||||
|
<div style="color :#adadad;" t-field="company.company_registry"/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.invoice_header"> |
||||
|
<div> |
||||
|
<div class="row"> |
||||
|
<div class="col-xs-3"> |
||||
|
<img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="height: 113px;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.invoice_layout"> |
||||
|
<!-- Multicompany --> |
||||
|
<t t-if="o and 'company_id' in o"> |
||||
|
<t t-set="company" t-value="o.company_id"></t> |
||||
|
</t> |
||||
|
<t t-if="not o or not 'company_id' in o"> |
||||
|
<t t-set="company" t-value="res_company"></t> |
||||
|
</t> |
||||
|
<t t-raw="0" /> |
||||
|
<t t-call="theme_light.invoice_footer" /> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.invoice_layout_002"> |
||||
|
<!-- Multicompany --> |
||||
|
<t t-if="o and 'company_id' in o"> |
||||
|
<t t-set="company" t-value="o.company_id"></t> |
||||
|
</t> |
||||
|
<t t-if="not o or not 'company_id' in o"> |
||||
|
<t t-set="company" t-value="res_company"></t> |
||||
|
</t> |
||||
|
<t t-raw="0" /> |
||||
|
<t t-call="theme_light.invoice_footer_002" /> |
||||
|
</template> |
||||
|
|
||||
|
|
||||
|
<template id="theme_light.report_footer_002"> |
||||
|
<div class="footer"> |
||||
|
<table style="width: 100%;font-size:13;color :black;font-family:Montserrat-Regular;text-align:center"> |
||||
|
<tr style="height:20px;"> |
||||
|
<td width="90%"></td> |
||||
|
<td rowspan="5" style="padding-left:15px;text-align:center;width:260px;border-left:1px solid #adadad" > |
||||
|
Page : |
||||
|
<span class="page"/> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="theme_light.report_layout_002"> |
||||
|
<!-- Multicompany --> |
||||
|
<t t-if="o and 'company_id' in o"> |
||||
|
<t t-set="company" t-value="o.company_id"></t> |
||||
|
</t> |
||||
|
<t t-if="not o or not 'company_id' in o"> |
||||
|
<t t-set="company" t-value="res_company"></t> |
||||
|
</t> |
||||
|
|
||||
|
<t t-raw="0" /> |
||||
|
<t t-call="theme_light.report_footer_002" /> |
||||
|
</template> |
||||
|
</odoo> |
@ -1,2 +1 @@ |
|||||
* Coop IT Easy SCRLfs |
* Coop IT Easy SCRLfs |
||||
|
|
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue