Skip to content

Commit

Permalink
[ADD] Generated noupdate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanRijnhart committed Dec 11, 2020
1 parent 546d34b commit be1c272
Show file tree
Hide file tree
Showing 49 changed files with 3,661 additions and 3 deletions.
123 changes: 123 additions & 0 deletions openupgrade_scripts/scripts/account/14.0.1.1/noupdate_changes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<record id="account_analytic_line_rule_billing_user" model="ir.rule">
<field name="perm_create" />
<field name="perm_read" />
<field name="perm_unlink" />
<field name="perm_write" />
</record>
<record id="account_bank_statement_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_bank_statement_line_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_fiscal_position_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_invoice_line_rule_portal" model="ir.rule">
<field
name="domain_force"
>[('move_id.move_type', 'in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund')), ('move_id.message_partner_ids','child_of',[user.commercial_partner_id.id])]</field>
</record>
<record id="account_invoice_rule_portal" model="ir.rule">
<field
name="domain_force"
>[('move_type', 'in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund')), ('message_partner_ids','child_of',[user.commercial_partner_id.id])]</field>
</record>
<record id="account_move_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_move_line_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_payment_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_reconcile_model_template_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="account_root_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="email_template_edi_invoice" model="mail.template">
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear
% if object.partner_id.parent_id:
${object.partner_id.name} (${object.partner_id.parent_id.name}),
% else:
${object.partner_id.name},
% endif
<br /><br />
Here is your
% if object.name:
invoice <strong>${object.name}</strong>
% else:
invoice
%endif
% if object.invoice_origin:
(with reference: ${object.invoice_origin})
% endif
amounting in <strong
>${format_amount(object.amount_total, object.currency_id)}</strong>
from ${object.company_id.name}.
% if object.payment_state in ('paid', 'in_payment'):
This invoice is already paid.
% else:
Please remit payment at your earliest convenience.
% if object.payment_reference:
<br /><br />
Please use the following communication for your payment: <strong
>${object.payment_reference}</strong>.
% endif
% endif
<br /><br />
Do not hesitate to contact us if you have any questions.
% if object.invoice_user_id.signature:
<br />
${object.invoice_user_id.signature | safe}
% endif
</p>
</div>
</field>
</record>
<record id="invoice_analysis_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="journal_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="journal_group_comp_rule" model="ir.rule">
<field name="global" />
</record>
<record id="mail_template_data_payment_receipt" model="mail.template">
<field name="body_html" type="xml">
<div style="margin: 0px; padding: 0px;">
<p style="margin: 0px; padding: 0px; font-size: 13px;">
Dear ${object.partner_id.name}<br /><br />
Thank you for your payment.
Here is your payment receipt <strong
>${(object.name or '').replace('/','-')}</strong> amounting
to <strong
>${format_amount(object.amount, object.currency_id)}</strong> from ${object.company_id.name}.
<br /><br />
Do not hesitate to contact us if you have any questions.
<br /><br />
Best regards,
% if user.signature:
<br />
${user.signature | safe}
% endif
</p>
</div>
</field>
</record>
<record id="tax_comp_rule" model="ir.rule">
<field name="global" />
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<record id="account_payment_method_check" model="account.payment.method">
<field name="sequence">20</field>
</record>
<record id="action_account_print_checks" model="ir.actions.server">
<field name="groups_id" eval="[(4, ref('account.group_account_user'))]" />
</record>
</odoo>
Loading

0 comments on commit be1c272

Please sign in to comment.