Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .weblate.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,11 @@
"filemask": "non_profit_organization/i18n/*.po",
"new_base": "non_profit_organization/i18n/non_profit_organization.pot"
},
{
"name": "non_profit_organization_petitions",
"filemask": "non_profit_organization_petitions/i18n/*.po",
"new_base": "non_profit_organization_petitions/i18n/non_profit_organization_petitions.pot"
},
{
"name": "odoo_partner",
"filemask": "odoo_partner/i18n/*.po",
Expand Down
23 changes: 7 additions & 16 deletions non_profit_organization/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
'name': 'Nonprofit organization',
'version': '2.0',
'version': '2.1',
'category': 'Services',
'depends': [
'base_industry_data',
Expand All @@ -22,14 +22,11 @@
'data/ir_attachment.xml',
'data/crm_tag.xml',
'data/crm_stage.xml',
'data/ir_model.xml',
'data/ir_model_fields.xml',
'data/ir_default.xml',
'data/account_report.xml',
'data/account_journal.xml',
'data/ir_actions_act_window.xml',
'data/res_partner_category.xml',
'data/ir_actions_server.xml',
'data/ir_ui_view.xml',
'data/hr_employee_category.xml',
'data/product_category.xml',
Expand All @@ -39,36 +36,25 @@
'data/product_product.xml',
'data/qweb_view.xml',
'data/ir_ui_menu.xml',
'data/base_automation.xml',
'data/res_config_settings.xml',
'data/ir_model_access.xml',
'data/knowledge_cover.xml',
'data/knowledge_article.xml',
'data/knowledge_article_favorite.xml',
'data/mail_message.xml',
'data/planning_role.xml',
'data/website_page.xml',
'data/website_controller_page.xml',
'data/website_menu.xml',
'data/website_theme_apply.xml',
'data/x_petition_tag.xml',
'data/mail_template.xml',
'data/product_pricelist.xml',
'data/product_pricelist_item.xml',
],
'demo': [
'demo/qweb_view.xml',
'demo/website_page.xml',
'demo/website_menu.xml',
'demo/website_theme_apply.xml',
'demo/product_template.xml',
'demo/project_task_type.xml',
'demo/project_project.xml',
'demo/x_petition.xml',
'demo/event_tag.xml',
'demo/event_event.xml',
'demo/event_event_ticket.xml',
'demo/payment_provider_demo_post.xml',
'demo/res_partner.xml',
'demo/crm_lead.xml',
'demo/hr_employee.xml',
Expand All @@ -85,16 +71,21 @@
'demo/survey_survey.xml',
'demo/survey_question.xml',
'demo/survey_question_answer.xml',
'demo/x_signature.xml',
'demo/sale_order_confirm.xml',
'demo/mailing_mailing.xml',
'demo/payment_provider_demo_post.xml',
'demo/qweb_view.xml',
'demo/website_page.xml',
'demo/website_menu.xml',
'demo/website_theme_apply.xml',
'demo/website.xml',
],
'license': 'OPL-1',
'author': 'Odoo S.A.',
"cloc_exclude": [
"data/knowledge_article.xml",
"data/qweb_view.xml",
"data/res_config_settings.xml",
"demo/qweb_view.xml",
],
'images': ['images/main.png'],
Expand Down
27 changes: 0 additions & 27 deletions non_profit_organization/data/ir_actions_act_window.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,10 @@
<field name="view_mode">kanban,list,form,map</field>
<field name="context">{'group_by': 'grade_id'}</field>
</record>
<record id="action_window_petition" model="ir.actions.act_window">
<field name="name">Petitions</field>
<field name="res_model">x_petition</field>
<field name="view_mode">list,form,kanban,graph,pivot</field>
</record>
<record id="action_window_petition_tag" model="ir.actions.act_window">
<field name="name">Petition Tags</field>
<field name="res_model">x_petition_tag</field>
</record>
<record id="action_window_donations" model="ir.actions.act_window">
<field name="name">Donations</field>
<field name="res_model">sale.order</field>
<field name="domain">[('order_line.product_id.categ_id.x_product_category_is_donation', '!=', False)]</field>
<field name="view_mode">list,form,graph</field>
</record>
<record id="action_window_signature" model="ir.actions.act_window">
<field name="name">Signatures</field>
<field name="res_model">x_signature</field>
<field name="view_mode">list,form,calendar</field>
<field name="context">{'default_x_date': context_today()}</field>
</record>
<record id="petition_related_x_signature" model="ir.actions.act_window">
<field name="context">{'search_default_x_petition_id': active_id,'default_x_petition_id': active_id, 'default_x_date': context_today()}</field>
<field name="domain">[('x_petition_id', '=', active_id)]</field>
<field name="name">Signatures</field>
<field name="res_model">x_signature</field>
</record>
<record id="partner_related_x_signature" model="ir.actions.act_window">
<field name="context">{'search_default_x_partner_id': active_id,'default_x_partner_id': active_id, 'default_x_date': context_today()}</field>
<field name="domain">[('x_partner_id', '=', active_id)]</field>
<field name="name">Signatures</field>
<field name="res_model">x_signature</field>
</record>
</odoo>
Loading