Skip to content
Extraits de code Groupes Projets
Valider 9a6f58e6 rédigé par Juliana's avatar Juliana
Parcourir les fichiers

[UPD]Pre commit

parent 89f4b031
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -4,7 +4,6 @@
import base64
from odoo import SUPERUSER_ID, _, http
from odoo.exceptions import AccessError, MissingError
from odoo.http import Response, request
from odoo.tools import consteq
......
# Copyright 2023 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models, api
from odoo import api, fields, models
class AccAccountPayment(models.Model):
......
......@@ -3,10 +3,9 @@
from dateutil.relativedelta import relativedelta
from odoo import api, fields, models, _
from odoo.tools import date_utils
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
from odoo.tools import date_utils
class AccOperation(models.Model):
......
# Copyright 2023 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models, _
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
......
Ce diff est replié.
......@@ -25,7 +25,8 @@
border-top: none !important;
}
.table .border-black td, .border-black th {
.table .border-black td,
.border-black th {
border-top: 1px solid black !important;
}
......@@ -39,7 +40,7 @@
.page .bloc-header .col-4.grey-div,
.o_report_layout_boxed .col-4.grey-div {
background-color: #EFF0F1 !important;
background-color: #eff0f1 !important;
padding-top: 20px;
padding-bottom: 20px;
}
......
......@@ -34,12 +34,14 @@
<span class="o_form_label mx-3"> du </span>
<field
name="start_date"
placeholder="Date de début" readonly="1"
placeholder="Date de début"
readonly="1"
/>
<span class="o_form_label mx-3"> au </span>
<field
name="end_date"
placeholder="Date de fin" readonly="1"
placeholder="Date de fin"
readonly="1"
/>
</div>
</group>
......@@ -248,9 +250,7 @@
name="producer_id"
options='{"always_reload": True, "no_quick_create": True}'
/>
<field
name="is_collectivite" widget="boolean_toggle"
/>
<field name="is_collectivite" widget="boolean_toggle" />
<field
name="acc_delivery_id"
options='{"always_reload": True, "no_quick_create": True}'
......@@ -345,8 +345,14 @@
/>
</group>
<group>
<field name="invoice_terms" placeholder="Termes and conditions de paiement..."/>
<field name="invoice_terms_tax" placeholder="Termes and conditions des taxes..."/>
<field
name="invoice_terms"
placeholder="Termes and conditions de paiement..."
/>
<field
name="invoice_terms_tax"
placeholder="Termes and conditions des taxes..."
/>
</group>
</page>
<page name="other_infos" string="Autres informations">
......
......@@ -127,7 +127,11 @@
<field name="start_date" />
<field name="end_date" />
<field name="currency_id" invisible="1" />
<field name="price" widget="monetary" options="{'field_digits': True}"/>
<field
name="price"
widget="monetary"
options="{'field_digits': True}"
/>
</tree>
</field>
</page>
......@@ -158,7 +162,11 @@
<field name="start_date" />
<field name="end_date" />
<field name="currency_id" invisible="1" />
<field name="price" widget="monetary" options="{'field_digits': True}"/>
<field
name="price"
widget="monetary"
options="{'field_digits': True}"
/>
</tree>
</field>
</page>
......@@ -191,7 +199,11 @@
<field name="start_date" />
<field name="end_date" />
<field name="currency_id" invisible="1" />
<field name="price" widget="monetary" options="{'field_digits': True}"/>
<field
name="price"
widget="monetary"
options="{'field_digits': True}"
/>
</tree>
</field>
</page>
......
......@@ -21,7 +21,10 @@
</div>
<div class="content-group">
<div class="mt16">
<field name="invoice_terms" placeholder="Rédiger les termes et conditions de paiement ici..."/>
<field
name="invoice_terms"
placeholder="Rédiger les termes et conditions de paiement ici..."
/>
</div>
</div>
</div>
......@@ -35,7 +38,10 @@
</div>
<div class="content-group">
<div class="mt16">
<field name="invoice_terms_tax" placeholder="Rédiger les termes et conditions des taxes ici..."/>
<field
name="invoice_terms_tax"
placeholder="Rédiger les termes et conditions des taxes ici..."
/>
</div>
</div>
</div>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter