[IMP] rma_sale: black, isort, prettier

This commit is contained in:
Mateu Griful
2020-12-21 12:18:15 +01:00
committed by JasminSForgeFlow
parent 67e3e5ec8b
commit e9d5511029
6 changed files with 7 additions and 29 deletions

View File

@@ -8,7 +8,7 @@
"category": "RMA",
"summary": "Links RMA with Sales Orders",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/Eficent/stock-rma",
"website": "https://github.com/OCA/account-budgeting",
"depends": ["rma_account", "sale_stock"],
"data": [
"data/rma_operation.xml",

View File

@@ -127,10 +127,7 @@
<field name="inherit_id" ref="rma.view_rma_rma_line_filter" />
<field name="arch" type="xml">
<group name="stock_quantities" position="after">
<group
name="sale_quantities"
groups="sales_team.group_sale_salesman"
>
<group name="sale_quantities" groups="sales_team.group_sale_salesman">
<filter
domain="[('state','!=', 'done'),('qty_to_sell','>',0.0)]"
help="To Sell"

View File

@@ -13,11 +13,7 @@
icon="fa-pencil-square-o"
groups="sales_team.group_sale_salesman"
>
<field
name="sale_count"
widget="statinfo"
string="Origin SO"
/>
<field name="sale_count" widget="statinfo" string="Origin SO" />
</button>
</div>
</field>

View File

@@ -38,11 +38,7 @@
attrs="{'invisible': [('rma_count', '=', 0)]}"
groups="rma.group_rma_customer_user"
>
<field
name="rma_count"
widget="statinfo"
string="RMA"
/>
<field name="rma_count" widget="statinfo" string="RMA" />
</button>
</xpath>
</data>

View File

@@ -42,11 +42,7 @@
string="Unit of Measure"
groups="uom.group_uom"
/>
<field
name="price_subtotal"
sum="Total"
widget="monetary"
/>
<field name="price_subtotal" sum="Total" widget="monetary" />
</tree>
</field>

View File

@@ -33,10 +33,7 @@
<field name="product_id" />
<field name="name" />
<field name="product_qty" />
<field
name="product_uom_id"
groups="uom.group_uom"
/>
<field name="product_uom_id" groups="uom.group_uom" />
<field name="free_of_charge" />
</tree>
</field>
@@ -48,11 +45,7 @@
type="object"
class="oe_highlight"
/>
<button
special="cancel"
string="Cancel"
class="oe_link"
/>
<button special="cancel" string="Cancel" class="oe_link" />
</footer>
</form>
</field>