mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma_sale: black, isort, prettier
This commit is contained in:
committed by
JasminSForgeFlow
parent
67e3e5ec8b
commit
e9d5511029
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user