[IMP] pre-commit: first run on whole repo

This commit is contained in:
Kevin Khao
2021-11-26 18:54:38 +03:00
parent a04b8980e1
commit 167aefee13
289 changed files with 6020 additions and 4170 deletions

View File

@@ -3,13 +3,13 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Default Warehouse on User (Purchase)',
'version': '12.0.1.0.0',
'category': 'Purchases',
'license': 'AGPL-3',
'summary': "Use the users's default warehouse on purchase orders",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['purchase', 'stock_user_default_warehouse_base'],
'installable': False,
"name": "Default Warehouse on User (Purchase)",
"version": "12.0.1.0.0",
"category": "Purchases",
"license": "AGPL-3",
"summary": "Use the users's default warehouse on purchase orders",
"author": "Akretion",
"website": "https://github.com/OCA/odoo-usability",
"depends": ["purchase", "stock_user_default_warehouse_base"],
"installable": False,
}

View File

@@ -2,11 +2,11 @@
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api
from odoo import api, fields, models
class PurchaseOrder(models.Model):
_inherit = 'purchase.order'
_inherit = "purchase.order"
@api.model
def _default_pref_picking_type(self):