Skip to content

Commit

Permalink
pre-commit run
Browse files Browse the repository at this point in the history
  • Loading branch information
eLBati committed Dec 19, 2023
1 parent 9834aa2 commit b3aca4d
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
1 change: 0 additions & 1 deletion l10n_it_fatturapa_out/models/attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class FatturaPAAttachment(models.Model):
)
sending_user = fields.Many2one(
comodel_name="res.users",
string="Sending User",
readonly=True,
)
sending_date = fields.Datetime("Sent Date", readonly=True)
Expand Down
38 changes: 18 additions & 20 deletions l10n_it_fatturapa_out/views/attachment_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
<field name="name">fatturapa.attachment.out.form</field>
<field name="model">fatturapa.attachment.out</field>
<field
name="inherit_id"
ref="l10n_it_fatturapa.fatturapa_attachment_view_form"
/>
name="inherit_id"
ref="l10n_it_fatturapa.fatturapa_attachment_view_form"
/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<form position="attributes">
Expand Down Expand Up @@ -107,26 +107,26 @@
</group>
<div name="creation_div" position="after">
<label
for="sending_user"
string="Sent by"
attrs="{'invisible': [('sending_user' ,'=', False)]}"
/>
for="sending_user"
string="Sent by"
attrs="{'invisible': [('sending_user' ,'=', False)]}"
/>
<div
name="sending_user"
attrs="{'invisible': [('sending_user' ,'=', False)]}"
>
name="sending_user"
attrs="{'invisible': [('sending_user' ,'=', False)]}"
>
<field name="sending_user" readonly="1" class="oe_inline" /> on
<field name="sending_date" readonly="1" class="oe_inline" />
</div>
<label
for="delivered_date"
string="Delivered"
attrs="{'invisible': [('delivered_date' ,'=', False)]}"
/>
for="delivered_date"
string="Delivered"
attrs="{'invisible': [('delivered_date' ,'=', False)]}"
/>
<div
name="delivered_date"
attrs="{'invisible': [('delivered_date' ,'=', False)]}"
>
name="delivered_date"
attrs="{'invisible': [('delivered_date' ,'=', False)]}"
>
<field name="delivered_date" readonly="1" class="oe_inline" />
</div>
</div>
Expand All @@ -152,9 +152,7 @@
/>

<record model="ir.ui.view" id="fatturapa_attachment_out_form_statusbar">
<field
name="name"
>Allow to change status by clicking on the status bar</field>
<field name="name">Allow to change status by clicking on the status bar</field>
<field name="model">fatturapa.attachment.out</field>
<field
name="inherit_id"
Expand Down
6 changes: 6 additions & 0 deletions setup/l10n_it_fatturapa_sdicoop/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit b3aca4d

Please sign in to comment.