odoo-addon-openupgrade-scripts 17.0.1.0.1.75__py3-none-any.whl → 17.0.1.0.1.87__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/openupgrade_scripts/apriori.py +3 -0
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/noupdate_changes_work.xml +157 -0
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/post-migration.py +544 -0
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/pre-migration.py +291 -0
- odoo/addons/openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis_work.txt +498 -0
- odoo/addons/openupgrade_scripts/scripts/account/tests/data_account_migration.py +20 -0
- odoo/addons/openupgrade_scripts/scripts/account/tests/test_account_migration.py +34 -0
- odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/post-migration.py +90 -0
- odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/pre-migration.py +43 -0
- odoo/addons/openupgrade_scripts/scripts/stock/17.0.1.1/upgrade_analysis_work.txt +163 -0
- odoo/addons/openupgrade_scripts/scripts/stock/tests/data_stock_migration.py +16 -0
- odoo/addons/openupgrade_scripts/scripts/stock/tests/test_stock_migration.py +31 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.75.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.87.dist-info}/METADATA +1 -1
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.75.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.87.dist-info}/RECORD +16 -5
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.75.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.87.dist-info}/WHEEL +0 -0
- {odoo_addon_openupgrade_scripts-17.0.1.0.1.75.dist-info → odoo_addon_openupgrade_scripts-17.0.1.0.1.87.dist-info}/top_level.txt +0 -0
@@ -20,6 +20,7 @@ merged_modules = {
|
|
20
20
|
"association": "membership",
|
21
21
|
"l10n_de_skr03": "l10n_de",
|
22
22
|
"l10n_de_skr04": "l10n_de",
|
23
|
+
"l10n_generic_coa": "account",
|
23
24
|
"l10n_hr_euro": "l10n_hr",
|
24
25
|
"l10n_in_tcs_tds": "l10n_in",
|
25
26
|
"l10n_in_upi": "l10n_in",
|
@@ -40,6 +41,8 @@ merged_modules = {
|
|
40
41
|
"l10n_es_irnr_sii": "l10n_es_aeat_sii_oca",
|
41
42
|
# OCA/purchase-workflow
|
42
43
|
"purchase_discount": "purchase",
|
44
|
+
# OCA/stock-logistics-warehouse
|
45
|
+
"stock_lot_filter_available": "stock",
|
43
46
|
# OCA/web
|
44
47
|
"web_advanced_search": "web",
|
45
48
|
"web_listview_range_select": "web",
|
@@ -0,0 +1,157 @@
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
2
|
+
<odoo>
|
3
|
+
<record id="account_bank_statement_line_comp_rule" model="ir.rule">
|
4
|
+
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
|
5
|
+
</record>
|
6
|
+
<record id="account_comp_rule" model="ir.rule">
|
7
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
8
|
+
</record>
|
9
|
+
<record id="account_fiscal_position_comp_rule" model="ir.rule">
|
10
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
11
|
+
</record>
|
12
|
+
<record id="account_group_comp_rule" model="ir.rule">
|
13
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
14
|
+
</record>
|
15
|
+
<record id="account_move_comp_rule" model="ir.rule">
|
16
|
+
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
|
17
|
+
</record>
|
18
|
+
<record id="account_move_line_comp_rule" model="ir.rule">
|
19
|
+
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
|
20
|
+
</record>
|
21
|
+
<!-- don't delete lines from payment terms, we migrate them /-->
|
22
|
+
<record id="account_payment_term_15days" model="account.payment.term">
|
23
|
+
<!--
|
24
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 15})]"/>
|
25
|
+
-->
|
26
|
+
</record>
|
27
|
+
<record id="account_payment_term_21days" model="account.payment.term">
|
28
|
+
<!--
|
29
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 21})]"/>
|
30
|
+
-->
|
31
|
+
</record>
|
32
|
+
<record id="account_payment_term_30_days_end_month_the_10" model="account.payment.term">
|
33
|
+
<!--
|
34
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'delay_type':'days_after_end_of_next_month', 'nb_days': 10})]"/>
|
35
|
+
-->
|
36
|
+
<field name="name">10 Days after End of Next Month</field>
|
37
|
+
<field name="note">Payment terms: 10 Days after End of Next Month</field>
|
38
|
+
</record>
|
39
|
+
<record id="account_payment_term_30days" model="account.payment.term">
|
40
|
+
<!--
|
41
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 30})]"/>
|
42
|
+
-->
|
43
|
+
</record>
|
44
|
+
<record id="account_payment_term_30days_early_discount" model="account.payment.term">
|
45
|
+
<!--
|
46
|
+
<field name="line_ids" eval="[ Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 30})]"/>
|
47
|
+
-->
|
48
|
+
<field name="discount_days">7</field>
|
49
|
+
<field name="discount_percentage">2</field>
|
50
|
+
<field name="early_discount">True</field>
|
51
|
+
</record>
|
52
|
+
<record id="account_payment_term_45days" model="account.payment.term">
|
53
|
+
<!--
|
54
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 45})]"/>
|
55
|
+
-->
|
56
|
+
</record>
|
57
|
+
<record id="account_payment_term_advance_60days" model="account.payment.term">
|
58
|
+
<!--
|
59
|
+
<field name="line_ids" eval="[ Command.clear(), Command.create({'value': 'percent', 'value_amount': 30.0, 'nb_days': 0}), Command.create({'value': 'percent', 'value_amount': 70.0, 'nb_days': 60})]"/>
|
60
|
+
-->
|
61
|
+
</record>
|
62
|
+
<record id="account_payment_term_comp_rule" model="ir.rule">
|
63
|
+
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'parent_of', company_ids)]</field>
|
64
|
+
</record>
|
65
|
+
<record id="account_payment_term_end_following_month" model="account.payment.term">
|
66
|
+
<!--
|
67
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'delay_type':'days_after_end_of_next_month', 'nb_days': 0})]"/>
|
68
|
+
-->
|
69
|
+
</record>
|
70
|
+
<record id="account_payment_term_immediate" model="account.payment.term">
|
71
|
+
<!--
|
72
|
+
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 0})]"/>
|
73
|
+
-->
|
74
|
+
</record>
|
75
|
+
<record id="account_reconcile_model_line_template_comp_rule" model="ir.rule">
|
76
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
77
|
+
</record>
|
78
|
+
<record id="account_reconcile_model_template_comp_rule" model="ir.rule">
|
79
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
80
|
+
</record>
|
81
|
+
<record id="account_root_comp_rule" model="ir.rule">
|
82
|
+
<field name="domain_force">['|',('company_id','=',False), ('company_id', 'parent_of', company_ids)]</field>
|
83
|
+
</record>
|
84
|
+
<record id="account_send_payment_receipt_by_email_action" model="ir.actions.act_window">
|
85
|
+
<field name="context" eval="{ 'mail_post_autofollow': True, 'default_composition_mode': 'comment', 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'default_email_layout_xmlid': 'mail.mail_notification_light', }"/>
|
86
|
+
</record>
|
87
|
+
<record id="account_send_payment_receipt_by_email_action_multi" model="ir.actions.act_window">
|
88
|
+
<field name="context" eval="{ 'mailing_document_based': True, 'mail_post_autofollow': True, 'default_composition_mode': 'mass_mail', 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'default_email_layout_xmlid': 'mail.mail_notification_light', }"/>
|
89
|
+
</record>
|
90
|
+
<record id="email_template_edi_credit_note" model="mail.template">
|
91
|
+
<field name="report_template_ids" eval="[(4, ref('account.account_invoices'))]"/>
|
92
|
+
</record>
|
93
|
+
<record id="email_template_edi_invoice" model="mail.template">
|
94
|
+
<field name="body_html" type="html">
|
95
|
+
<div style="margin: 0px; padding: 0px;">
|
96
|
+
<p style="margin: 0px; padding: 0px; font-size: 13px;">
|
97
|
+
Dear
|
98
|
+
<t t-if="object.partner_id.parent_id"><t t-out="object.partner_id.name or ''">Brandon Freeman</t> (<t t-out="object.partner_id.parent_id.name or ''">Azure Interior</t>),
|
99
|
+
</t>
|
100
|
+
<t t-else=""><t t-out="object.partner_id.name or ''">Brandon Freeman</t>,
|
101
|
+
</t>
|
102
|
+
<br/><br/>
|
103
|
+
Here is your
|
104
|
+
<t t-if="object.name">
|
105
|
+
invoice <span style="font-weight:bold;" t-out="object.name or ''">INV/2021/05/0005</span>
|
106
|
+
</t>
|
107
|
+
<t t-else="">
|
108
|
+
invoice
|
109
|
+
</t>
|
110
|
+
<t t-if="object.invoice_origin">
|
111
|
+
(with reference: <t t-out="object.invoice_origin or ''">SUB003</t>)
|
112
|
+
</t>
|
113
|
+
amounting in <span style="font-weight:bold;" t-out="format_amount(object.amount_total, object.currency_id) or ''">$ 143,750.00</span>
|
114
|
+
from <t t-out="object.company_id.name or ''">YourCompany</t>.
|
115
|
+
<t t-if="object.payment_state in ('paid', 'in_payment')">
|
116
|
+
This invoice is already paid.
|
117
|
+
</t>
|
118
|
+
<t t-else="">
|
119
|
+
Please remit payment at your earliest convenience.
|
120
|
+
<t t-if="object.payment_reference"><br/><br/>
|
121
|
+
Please use the following communication for your payment: <strong t-out="object.payment_reference or ''">INV/2021/05/0005</strong>
|
122
|
+
<t t-if="object.partner_bank_id">
|
123
|
+
on the account <strong t-out="object.partner_bank_id.acc_number"/>
|
124
|
+
</t>
|
125
|
+
.
|
126
|
+
</t>
|
127
|
+
</t>
|
128
|
+
<t t-if="hasattr(object, 'timesheet_count') and object.timesheet_count"><br/><br/>
|
129
|
+
PS: you can review your timesheets <a t-att-href="'my/timesheets?search_in=invoice&search=%s' % object.name">from the portal.</a>
|
130
|
+
</t>
|
131
|
+
<br/><br/>
|
132
|
+
Do not hesitate to contact us if you have any questions.
|
133
|
+
<t t-if="not is_html_empty(object.invoice_user_id.signature)"><br/><br/><t t-out="object.invoice_user_id.signature or ''">--<br/>Mitchell Admin</t></t>
|
134
|
+
</p>
|
135
|
+
</div>
|
136
|
+
</field>
|
137
|
+
<field name="report_template_ids" eval="[(4, ref('account.account_invoices'))]"/>
|
138
|
+
</record>
|
139
|
+
<record id="invoice_analysis_comp_rule" model="ir.rule">
|
140
|
+
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
|
141
|
+
</record>
|
142
|
+
<record id="journal_comp_rule" model="ir.rule">
|
143
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
144
|
+
</record>
|
145
|
+
<record id="journal_group_comp_rule" model="ir.rule">
|
146
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
147
|
+
</record>
|
148
|
+
<record id="mail_template_data_payment_receipt" model="mail.template">
|
149
|
+
<field name="report_template_ids" eval="[(4, ref('account.action_report_payment_receipt'))]"/>
|
150
|
+
</record>
|
151
|
+
<record id="tax_comp_rule" model="ir.rule">
|
152
|
+
<field name="domain_force">[('company_id', 'parent_of', company_ids)]</field>
|
153
|
+
</record>
|
154
|
+
<record id="tax_rep_comp_rule" model="ir.rule">
|
155
|
+
<field name="domain_force">['|',('company_id','=',False), ('company_id', 'parent_of', company_ids)]</field>
|
156
|
+
</record>
|
157
|
+
</odoo>
|