-
-
Notifications
You must be signed in to change notification settings - Fork 672
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f48ec23
commit a060a76
Showing
405 changed files
with
19,095 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
openupgrade_scripts/scripts/account/16.0.1.2/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_payment_term_15days" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'days': 15})]"/> | ||
</record> | ||
<record id="account_payment_term_21days" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'days': 21})]"/> | ||
</record> | ||
<record id="account_payment_term_2months" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'months': 2})]"/> | ||
</record> | ||
<record id="account_payment_term_30days" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'days': 30})]"/> | ||
</record> | ||
<record id="account_payment_term_45days" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'days': 45})]"/> | ||
</record> | ||
<record id="account_payment_term_advance_60days" model="account.payment.term"> | ||
<field name="line_ids" eval="[ Command.clear(), Command.create({'value': 'percent', 'value_amount': 30.0, 'days': 0}), Command.create({'value': 'balance', 'value_amount': 0.0, 'days': 60})]"/> | ||
</record> | ||
<record id="account_payment_term_end_following_month" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0, 'months': 1, 'end_month': True})]"/> | ||
</record> | ||
<record id="account_payment_term_immediate" model="account.payment.term"> | ||
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'balance', 'value_amount': 0.0})]"/> | ||
</record> | ||
<record id="account_send_payment_receipt_by_email_action" model="ir.actions.act_window"> | ||
<field name="context" eval="{ 'mail_post_autofollow': True, 'default_composition_mode': 'comment', 'default_use_template': True, 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'default_email_layout_xmlid': 'mail.mail_notification_light', }"/> | ||
</record> | ||
<record id="account_send_payment_receipt_by_email_action_multi" model="ir.actions.act_window"> | ||
<field name="context" eval="{ 'mail_post_autofollow': True, 'default_composition_mode': 'mass_mail', 'default_use_template': True, 'default_template_id': ref('account.mail_template_data_payment_receipt'), 'default_email_layout_xmlid': 'mail.mail_notification_light', }"/> | ||
</record> | ||
<record id="email_template_edi_credit_note" 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 | ||
<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>), | ||
</t> | ||
<t t-else=""><t t-out="object.partner_id.name or ''">Brandon Freeman</t>, | ||
</t> | ||
<br/><br/> | ||
Here is your | ||
<t t-if="object.name"> | ||
credit note <span style="font-weight:bold;" t-out="object.name or ''">RINV/2021/05/0001</span> | ||
</t> | ||
<t t-else=""> | ||
credit note | ||
</t> | ||
<t t-if="object.invoice_origin"> | ||
(with reference: <t t-out="object.invoice_origin or ''">SUB003</t>) | ||
</t> | ||
amounting in <span style="font-weight:bold;" t-out="format_amount(object.amount_total, object.currency_id) or ''">$ 143,750.00</span> | ||
from <t t-out="object.company_id.name or ''">YourCompany</t>. | ||
<br/><br/> | ||
Do not hesitate to contact us if you have any questions. | ||
<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> | ||
</p> | ||
</div> | ||
</field> | ||
<field name="name">Credit Note: Sending</field> | ||
<field name="description">Sent to customers with the credit note in attachment</field> | ||
</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 | ||
<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>), | ||
</t> | ||
<t t-else=""><t t-out="object.partner_id.name or ''">Brandon Freeman</t>, | ||
</t> | ||
<br/><br/> | ||
Here is your | ||
<t t-if="object.name"> | ||
invoice <span style="font-weight:bold;" t-out="object.name or ''">INV/2021/05/0005</span> | ||
</t> | ||
<t t-else=""> | ||
invoice | ||
</t> | ||
<t t-if="object.invoice_origin"> | ||
(with reference: <t t-out="object.invoice_origin or ''">SUB003</t>) | ||
</t> | ||
amounting in <span style="font-weight:bold;" t-out="format_amount(object.amount_total, object.currency_id) or ''">$ 143,750.00</span> | ||
from <t t-out="object.company_id.name or ''">YourCompany</t>. | ||
<t t-if="object.payment_state in ('paid', 'in_payment')"> | ||
This invoice is already paid. | ||
</t> | ||
<t t-else=""> | ||
Please remit payment at your earliest convenience. | ||
<t t-if="object.payment_reference"><br/><br/> | ||
Please use the following communication for your payment: <span style="font-weight:bold;" t-out="object.payment_reference or ''">INV/2021/05/0005</span>. | ||
</t> | ||
</t> | ||
<br/><br/> | ||
Do not hesitate to contact us if you have any questions. | ||
<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> | ||
</p> | ||
</div> | ||
</field> | ||
<field name="name">Invoice: Sending</field> | ||
<field name="description">Sent to customers with their invoices in attachment</field> | ||
</record> | ||
<record id="mail_template_data_payment_receipt" 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 <t t-out="object.partner_id.name or ''">Azure Interior</t><br/><br/> | ||
Thank you for your payment. | ||
Here is your payment receipt <span style="font-weight:bold;" t-out="(object.name or '').replace('/','-') or ''">BNK1-2021-05-0002</span> amounting | ||
to <span style="font-weight:bold;" t-out="format_amount(object.amount, object.currency_id) or ''">$ 10.00</span> from <t t-out="object.company_id.name or ''">YourCompany</t>. | ||
<br/><br/> | ||
Do not hesitate to contact us if you have any questions. | ||
<br/><br/> | ||
Best regards, | ||
<t t-if="not is_html_empty(user.signature)"><br/><br/><t t-out="user.signature or ''">--<br/>Mitchell Admin</t></t> | ||
</p> | ||
</div> | ||
</field> | ||
<field name="name">Payment: Payment Receipt</field> | ||
<field name="description">Sent manually to customer when clicking on 'Send receipt by email' in payment action</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.