[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", "category": "RMA",
"summary": "Links RMA with Sales Orders", "summary": "Links RMA with Sales Orders",
"author": "ForgeFlow, Odoo Community Association (OCA)", "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"], "depends": ["rma_account", "sale_stock"],
"data": [ "data": [
"data/rma_operation.xml", "data/rma_operation.xml",

View File

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

View File

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

View File

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

View File

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

View File

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