Skip to content
Extraits de code Groupes Projets
Valider a7fe6eeb rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[mig] Migration 13.0

parent 674e26cc
Branches 13.0
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,7 +8,7 @@ manifest_required_authors=Le Filament ...@@ -8,7 +8,7 @@ manifest_required_authors=Le Filament
manifest_required_keys=license manifest_required_keys=license
manifest_deprecated_keys=description,active manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=14.0 valid_odoo_versions=13.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
......
...@@ -8,7 +8,7 @@ manifest_required_authors=Le Filament ...@@ -8,7 +8,7 @@ manifest_required_authors=Le Filament
manifest_required_keys=license manifest_required_keys=license
manifest_deprecated_keys=description,active manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=14.0 valid_odoo_versions=13.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"summary": "Gestion de la Facturation Cg Scop", "summary": "Gestion de la Facturation Cg Scop",
"author": "Le Filament", "author": "Le Filament",
"website": "https://www.le-filament.com", "website": "https://www.le-filament.com",
"version": "14.0.1.0.0", "version": "13.0.1.0.0",
"license": "AGPL-3", "license": "AGPL-3",
"depends": ["account", "cgscop_partner", "account_financial_report"], "depends": ["account", "cgscop_partner", "account_financial_report"],
"data": [ "data": [
......
...@@ -10,7 +10,7 @@ class ScopAccountMove(models.Model): ...@@ -10,7 +10,7 @@ class ScopAccountMove(models.Model):
move_line_payment_ids = fields.One2many( move_line_payment_ids = fields.One2many(
comodel_name="account.move.line", comodel_name="account.move.line",
string="Paiements", string="Paiements",
compute="_compute_move_line_payment_ids" compute="_compute_move_line_payment_ids",
) )
def _compute_move_line_payment_ids(self): def _compute_move_line_payment_ids(self):
...@@ -18,7 +18,7 @@ class ScopAccountMove(models.Model): ...@@ -18,7 +18,7 @@ class ScopAccountMove(models.Model):
values = self._get_reconciled_info_JSON_values() values = self._get_reconciled_info_JSON_values()
aml = [] aml = []
for value in values: for value in values:
aml.append(value.get('payment_id')) aml.append(value.get("payment_id"))
self.move_line_payment_ids = self.line_ids.browse(aml) self.move_line_payment_ids = self.line_ids.browse(aml)
@api.onchange("partner_id") @api.onchange("partner_id")
......
...@@ -73,7 +73,7 @@ class AccountInvoiceReport(models.Model): ...@@ -73,7 +73,7 @@ class AccountInvoiceReport(models.Model):
"amount_residual_signed", "amount_residual_signed",
"payment_state", "payment_state",
"state", "state",
"move_type", "type",
"invoice_user_id", "invoice_user_id",
], ],
} }
...@@ -120,13 +120,13 @@ class AccountInvoiceReport(models.Model): ...@@ -120,13 +120,13 @@ class AccountInvoiceReport(models.Model):
amount_untaxed_signed, amount_untaxed_signed,
amount_total_signed, amount_total_signed,
amount_residual_signed, amount_residual_signed,
move_type, type as move_type,
state, state,
payment_state invoice_payment_state as payment_state
FROM FROM
account_move account_move
WHERE WHERE
move_type in ('out_invoice', 'out_refund') type in ('out_invoice', 'out_refund')
AND state = 'posted' AND state = 'posted'
""" """
return select_str return select_str
......
...@@ -8,10 +8,7 @@ ...@@ -8,10 +8,7 @@
<field name="priority" eval="25" /> <field name="priority" eval="25" />
<field name="inherit_id" ref="account.res_config_settings_view_form" /> <field name="inherit_id" ref="account.res_config_settings_view_form" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath <xpath expr="//div[@id='invoicing_settings']" position="after">
expr="//div[@name='fiscal_localization_setting_container']"
position="after"
>
<h2>Configuration Union Régionales</h2> <h2>Configuration Union Régionales</h2>
<div <div
class="row mt16 o_settings_container" class="row mt16 o_settings_container"
......
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