Skip to content

Commit 5b5fe01

Browse files
frva-odoovava-odoo
authored andcommitted
[MOV] non_profit_organization: ngo module renamed
Part-of: #1138 Signed-off-by: Vallaeys Valentin (vava) <[email protected]>
1 parent 3ee6d09 commit 5b5fe01

File tree

147 files changed

+127
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+127
-127
lines changed

.weblate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@
342342
"new_base": "museum/i18n/museum.pot"
343343
},
344344
{
345-
"name": "ngo",
346-
"filemask": "ngo/i18n/*.po",
347-
"new_base": "ngo/i18n/ngo.pot"
345+
"name": "non_profit_organization",
346+
"filemask": "non_profit_organization/i18n/*.po",
347+
"new_base": "non_profit_organization/i18n/non_profit_organization.pot"
348348
},
349349
{
350350
"name": "odoo_partner",
File renamed without changes.
File renamed without changes.

ngo/data/account_report.xml renamed to non_profit_organization/data/account_report.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<field name="model">account.move</field>
66
<field name="report_type">qweb-pdf</field>
77
<field name="domain">[]</field>
8-
<field name="report_name">ngo.report_fiscal_attestation_with_payments</field>
9-
<field name="report_file">ngo.report_fiscal_attestation_with_payments</field>
8+
<field name="report_name">non_profit_organization.report_fiscal_attestation_with_payments</field>
9+
<field name="report_file">non_profit_organization.report_fiscal_attestation_with_payments</field>
1010
<field name="is_invoice_report">True</field>
1111
<field name="print_report_name">(object._get_report_base_filename())</field>
1212
<field name="attachment"/>
File renamed without changes.
File renamed without changes.
File renamed without changes.

ngo/data/ir_actions_server.xml renamed to non_profit_organization/data/ir_actions_server.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ response = {
6666
for so in records:
6767
products_is_donation = so.order_line.mapped('product_id.categ_id.x_product_category_is_donation')
6868
if any(products_is_donation):
69-
so['journal_id'] = env.ref('ngo.account_journal_donations')
69+
so['journal_id'] = env.ref('non_profit_organization.account_journal_donations')
7070
if not all(products_is_donation):
71-
so['tag_ids'] = [Command.link(env.ref('ngo.crm_tag_5').id)]
71+
so['tag_ids'] = [Command.link(env.ref('non_profit_organization.crm_tag_5').id)]
7272
]]></field>
7373
<field name="model_id" ref="sale.model_sale_order"/>
7474
<field name="state">code</field>

0 commit comments

Comments
 (0)