mirror of https://github.com/OCA/social.git
[IMP] mail_attach_existing_attachment_account: black, isort, prettier
parent
14882fcae4
commit
fae2f77eab
|
@ -2,21 +2,15 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
{
|
||||
'name': "Mail Attach Existing Attachment (Account)",
|
||||
'summary': "Module to use attach existing attachment for account module",
|
||||
'author': "Thore Baden, "
|
||||
"Odoo Community Association (OCA)",
|
||||
'website': "https://github.com/OCA/social",
|
||||
'category': 'Social Network',
|
||||
'version': '12.0.1.0.0',
|
||||
'license': 'AGPL-3',
|
||||
'depends': [
|
||||
'account',
|
||||
'mail_attach_existing_attachment',
|
||||
],
|
||||
'data': [
|
||||
'wizard/account_invoice_send_view.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
"name": "Mail Attach Existing Attachment (Account)",
|
||||
"summary": "Module to use attach existing attachment for account module",
|
||||
"author": "Thore Baden, " "Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/social",
|
||||
"category": "Social Network",
|
||||
"version": "12.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"depends": ["account", "mail_attach_existing_attachment",],
|
||||
"data": ["wizard/account_invoice_send_view.xml",],
|
||||
"installable": True,
|
||||
"auto_install": True,
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright 2019 Thore Baden
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
@ -7,15 +7,19 @@
|
|||
<record id="account_invoice_send_wizard_form" model="ir.ui.view">
|
||||
<field name="name">Send Invoice</field>
|
||||
<field name="model">account.invoice.send</field>
|
||||
<field name="inherit_id" ref="account.account_invoice_send_wizard_form"/>
|
||||
<field name="inherit_id" ref="account.account_invoice_send_wizard_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='attachment_ids']" position="after">
|
||||
<field name="model" invisible="1"/>
|
||||
<field name="res_id" invisible="1"/>
|
||||
<field name="can_attach_attachment" invisible="1"/>
|
||||
<field name="model" invisible="1" />
|
||||
<field name="res_id" invisible="1" />
|
||||
<field name="can_attach_attachment" invisible="1" />
|
||||
<div attrs="{'invisible': [('can_attach_attachment', '=', False)]}">
|
||||
<br />
|
||||
<field name="object_attachment_ids" widget="many2many_checkboxes" domain="[('res_model', '=', model), ('res_id', '=', res_id)]" />
|
||||
<field
|
||||
name="object_attachment_ids"
|
||||
widget="many2many_checkboxes"
|
||||
domain="[('res_model', '=', model), ('res_id', '=', res_id)]"
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../../../mail_attach_existing_attachment_account
|
|
@ -0,0 +1,6 @@
|
|||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
Loading…
Reference in New Issue