Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] RMA #558

Open
wants to merge 188 commits into
base: 18.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
eaea056
init branch
JordiBForgeFlow Jul 27, 2017
29aa9f1
[9.0] rma: remove rma.rule and add that setting to product.category
LoisRForgeFlow Aug 2, 2017
81d0c4a
[9.0][FIX] rma:
LoisRForgeFlow Aug 2, 2017
90bb6d7
[IMP] default operation in product and product_categ for customer and…
AaronHForgeFlow Aug 16, 2017
f8339f4
[9.0][FIX]
LoisRForgeFlow Aug 24, 2017
f704628
[9.0][IMP] rma_account:
LoisRForgeFlow Aug 25, 2017
40429df
[9.0][IMP] rma_purchase:
LoisRForgeFlow Aug 25, 2017
5c8b6c0
[9.0][REW] rma: workflow centralized on rma.order.line and the use of…
LoisRForgeFlow Oct 18, 2017
afc3b50
[9.0][IMP] rma: add constrains
LoisRForgeFlow Oct 19, 2017
bae1a1b
[9.0][FIX] rma: wizard
LoisRForgeFlow Oct 19, 2017
abc403b
fix rma
LoisRForgeFlow Oct 19, 2017
399d81f
[9.0][IMP] rma: add button to rma's from customers
LoisRForgeFlow Oct 23, 2017
90df9fb
add partner constrain
LoisRForgeFlow Oct 23, 2017
d682984
[9.0] add under_warranty field
LoisRForgeFlow Oct 25, 2017
9df2e3f
[9.0][FIX] rma: create supplier rma wizard
LoisRForgeFlow Nov 9, 2017
c3e4bb7
[MIG]rma v10
AaronHForgeFlow Dec 19, 2017
ed77fd0
[FIX]view
AaronHForgeFlow Dec 21, 2017
70a4bb1
[IMP] Improved Unit Test Case and Fixed Travis
nikul-serpentcs Nov 10, 2017
34a0405
[FIX]various fixes
AaronHForgeFlow Jan 2, 2018
a334d1c
[FIX]error in compute method
AaronHForgeFlow Jan 8, 2018
30eaafe
[MIG] Migrated UT & Fixed Travis
nikul-serpentcs Jan 5, 2018
7f98a26
[IMP] Improved Code.
nikul-serpentcs Jan 9, 2018
d37b6a6
[MIG]rma_operating_unit to v10
AaronHForgeFlow Jan 9, 2018
8a3b4a1
[FIX]moved_qty uses moves not procurements
AaronHForgeFlow Jan 22, 2018
37fd6a6
[FIX]compute qty when stock moves but not procurements
AaronHForgeFlow Jan 26, 2018
876c8cd
[11.0] MIG: RMA module
Feb 9, 2018
6357363
[FIX] Permissions and remove (en)coding
max3903 Feb 9, 2018
84c609f
[MIG] Migrate configuration and cleanup
max3903 Feb 9, 2018
c239f91
[FIX] Errors from tests
max3903 Feb 9, 2018
2006a3c
multiple fixes
JordiBForgeFlow Feb 14, 2018
88335f8
[IMP] Various improvements
Feb 14, 2018
a05575d
[FIX] Cannot create partner
max3903 Jun 25, 2018
910c02c
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
363310d
[FIX] Access rights with group deps
max3903 Jun 27, 2018
f397a06
[FIX] TypeError: unhashable type: 'list'
Jul 19, 2018
d1754c5
[FIX] Add read access to stock.move
max3903 Jun 26, 2018
60edd97
[FIX] Access rights with group deps
max3903 Jun 27, 2018
382de6b
[MIG]rma v110.0.2.0.0
AaronHForgeFlow Jul 26, 2018
27d80dd
[9.0][IMP] rma: configuring rma for a warehouse from the wh form view
LoisRForgeFlow Aug 3, 2018
617ebc0
[9.0][IMP] rma: tests moved to Savedpointcase and optimized (66% time…
LoisRForgeFlow May 14, 2018
37cf27e
[FIX]views rma
AaronHForgeFlow Jul 30, 2018
51e7ddd
[FIX]compute_qty_to_receive
AaronHForgeFlow Jul 30, 2018
6018013
[FIX]rma test
AaronHForgeFlow Jul 30, 2018
2211365
[IMP]product first on view then select document according to product
AaronHForgeFlow Aug 3, 2018
033a14a
[IMP] add group to manage rma groups
AaronHForgeFlow Aug 3, 2018
c64b6d0
[FIX]RMA location company is the warehouse company
AaronHForgeFlow May 24, 2018
7779853
[IMP]add icon. Courtesy lreficent.
AaronHForgeFlow Aug 24, 2018
10ad44f
[FIX]text on create supplier rma button
AaronHForgeFlow Oct 4, 2018
5de0f49
[IMP]add rma line report
AaronHForgeFlow May 25, 2018
f1bc4e9
[UPT]report usable in v11
AaronHForgeFlow Oct 4, 2018
f290518
[12.0][MIG] Migrate rma module to v12.0
AdriaGForgeFlow Nov 19, 2018
9cfd9b1
[12.0][FIX] Fix search view in rma module
AdriaGForgeFlow Dec 3, 2018
28ea138
[FIX] qty_delivered is not updated properly
bjeficent Feb 14, 2019
8080e32
rma: Fix stock_location res.groups
grindtildeath Mar 12, 2019
fd07c79
Proxy fields defaults with lambda to allow inheritance
grindtildeath Mar 18, 2019
3980927
Use strings on fields compute to allow inheritance
grindtildeath Mar 18, 2019
89928a2
Define default value for required fields
grindtildeath Mar 18, 2019
037e4b0
[FIX] Remove picking_id from default_get as model does not define it
grindtildeath Apr 10, 2019
62d46cc
[SET] Correct website URL for RMA modules
May 24, 2019
a253445
[FIX] Class typo, ProcurementRule is StockRule in V12.0
Jun 5, 2019
d2b973f
[FIX] multicompany security
gurneyalex Jun 18, 2019
13d6871
[IMP] rma operation form view
gurneyalex Jun 21, 2019
7b34b05
[FIX] wrong company on stock rules
gurneyalex Jun 21, 2019
3742e1c
make the RMA routes shared in multicompany by default
gurneyalex Jun 21, 2019
9070e8b
[FIX]do not copy name when duplicating
AaronHForgeFlow Jul 11, 2019
304fdde
[FIX]wizard to create pickings, not to show rma groups if rma groups …
AaronHForgeFlow Jul 16, 2019
a63a939
[FIX]consistency group vs line in the picking count methods
AaronHForgeFlow Jul 15, 2019
770961e
[ENH]activate description also fro customer RMAs
AaronHForgeFlow Sep 20, 2019
3d2c0ca
[FIX]supplier lines field description
AaronHForgeFlow Sep 23, 2019
41f278b
[IMP]return qty instead of ordered qty
AaronHForgeFlow Sep 23, 2019
58a652d
[FIX] description on rma models
AaronHForgeFlow Oct 8, 2019
b0c0178
[FIX] tests
MiquelRForgeFlow Oct 30, 2019
2867966
[FIX]move constraint from the rma order to the line
AaronHForgeFlow Oct 29, 2019
7ebabd8
[FIX]UsreError to Validation Error
AaronHForgeFlow Oct 29, 2019
ad560a9
[FIX] default_gets: avoid using shadowname 'fields'
MiquelRForgeFlow Nov 29, 2019
efa45d7
[10.0][IMP]add report for rma group
chafique-delli Dec 6, 2019
8fa67b5
[UPT]rma group report to v12
AaronHForgeFlow Jan 3, 2020
d321342
[IMP] : black, isort
AaronHForgeFlow Jan 14, 2020
2a42cc1
[MIG] rma: Migration to 13.0
AaronHForgeFlow Jan 14, 2020
958f023
RMA as an APP
HviorForgeFlow Jan 20, 2020
69f0b16
[IMP]rma master data menus
AaronHForgeFlow Feb 14, 2020
dc089af
[FIX]rma_account refund creation
AaronHForgeFlow Feb 14, 2020
68c0ebf
[IMP]rma enable invoicing from settings
AaronHForgeFlow Feb 14, 2020
b7a4db0
[ENH]rma_sale traceability
AaronHForgeFlow Jan 23, 2020
6ba01ab
[FIX]rma report templates group
AaronHForgeFlow May 4, 2020
0515be1
[IMP] Update pre-commit lints according with OCA ones
HviorForgeFlow May 29, 2020
635e558
[FIX] External ID not found in the system: account.res_partner_action…
Dec 17, 2020
05bc2b1
[IMP] rma: black, isort, prettier
MateuGForgeFlow Dec 18, 2020
d19184a
[MIG] rma: Migration to 14.0
MateuGForgeFlow Dec 18, 2020
b2ee2f3
[IMP] rma
MateuGForgeFlow Dec 28, 2020
fcd5565
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
6d8f2be
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 12, 2021
5876f8a
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
e0dd44c
[MIG] rma: Migration to 14.0 - fix
MateuGForgeFlow Jan 13, 2021
8205acb
[FIX] rma: Create rma supplier action
MateuGForgeFlow Jan 15, 2021
4db0d96
[MIG] rma_account: Migration to 14.0
MateuGForgeFlow Jan 18, 2021
d6ad686
[14.0][IMP]Fill rma lines in tree (#156)
MateuGForgeFlow Feb 1, 2021
1fcc4be
[FIX] rma: toggle archive button removed in favor of web_ribbon.
LoisRForgeFlow Mar 26, 2021
67a603e
[IMP] rma: Do not highlight all action buttons and simplify
LoisRForgeFlow Mar 26, 2021
6bad73d
[14.0][FIX] warehouse rma location
RLeeOSI Mar 17, 2021
929bbc4
[14.0][MIG] rma*: ir.actions.act_window has different access
LoisRForgeFlow Apr 16, 2021
bbb612c
Fix Pre-commit Websites
MateuGForgeFlow Oct 6, 2021
69ab731
[rma][fix] allow to set back to approved a done rma
JordiBForgeFlow Oct 27, 2021
99bd47c
[MIG] rma: Migration to 15.0
JasminSForgeFlow Jan 7, 2022
f13a4d0
[14.0][IMP]rma: make operation editable after approved
AaronHForgeFlow Jan 19, 2022
9428241
[fix] rma: when using 2 step receipt or delivery, don't count double
JordiBForgeFlow Feb 2, 2022
31a72a7
[fix] rma: improve logic to count in and out pickings
JordiBForgeFlow Feb 3, 2022
bc49504
[FIX] rma: compute out_shipment_count correctly. Add test cases
JordiBForgeFlow Feb 7, 2022
29d1f51
[IMP] rma: Added serial/lot selection on from stock move wizard on rm…
ChrisOForgeFlow Jan 25, 2022
4ae4730
[IMP] rma, rma_sale: added select all, messages for UX
ChrisOForgeFlow Jan 28, 2022
69b4734
[FIX] rma: add lot to pickings created from wizard on RMA lines
ChrisOForgeFlow Feb 7, 2022
d1f0906
[15.0][ADD] Mass action for request approval RMA order line
ChrisOForgeFlow Feb 11, 2022
e8fcd1d
[IMP] rma: Fix Route View
JasminSForgeFlow Feb 23, 2022
2c01d28
[FIX] rma: do not force reservation on supplier RMA deliveries
LoisRForgeFlow Mar 4, 2022
5690c91
[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking as…
ChrisOForgeFlow Mar 3, 2022
f68525a
[IMP] COPIER UPDATE: black, isort, prettier
AaronHForgeFlow Apr 22, 2022
99cf5f2
[FIX] Remove useless/bad wiz_id field in rma_make_picking.wizard item…
florian-dacosta May 3, 2022
db2a4ef
Add missing fields in rma line editable tree in rma group
florian-dacosta Apr 29, 2022
991483f
[IMP] rma: Refactor all rma modules in order to consider using the co…
JordiBForgeFlow Mar 2, 2022
8cd7a0a
[15.0][IMP] Tests for stock valuation
AaronHForgeFlow Mar 4, 2022
624ccdf
[13.0][FIX/IMP] Make RMA Operation settings company dependent
astirpe Apr 20, 2022
0259406
[14.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 18, 2022
04a6535
[15.0][FIX/IMP] Make RMA Operation settings company dependent
DavidFIB May 19, 2022
6177f8b
[FIX] rma: missing migration scripts and version bump
LoisRForgeFlow May 25, 2022
c43c881
[IMP] rma: add RMA reference to delivery slip report
LoisRForgeFlow May 13, 2022
7bef124
[IMP] rma: add rma lines to group selecting serial numbers
LoisRForgeFlow May 23, 2022
4133bc5
[FIX] rma: prevent against warehouse mismatch or missing rules
StefanRijnhart Jun 15, 2022
89d1df1
[IMP] Improve multi-company record rules
Jun 16, 2022
05fdeea
[FIX]rma: remove test_rma dependency to Account
DavidJForgeFlow Jun 16, 2022
910c29a
[FIX] rma: improve check on rule selection during procurement
StefanRijnhart Jun 24, 2022
7404985
Hide smart button when empty
florian-dacosta Jun 8, 2022
295f561
[IMP] Make rma order view cleaner for user
florian-dacosta Jul 1, 2022
6385332
[IMP] rma: prevent the creation of zero qty moves
StefanRijnhart Jun 11, 2022
9fe81f7
[15.0][FIX] rma_sale: fixup of procurement
DavidJForgeFlow Jul 11, 2022
8434687
[IMP] rma_sale: introduce new config settings.
JordiBForgeFlow Jun 26, 2022
2d4be06
[FIX] include anglo-saxon price unit calculation in refunds.
JordiBForgeFlow Nov 21, 2022
855e3dc
[IMP] centralize the logic to get the correct cost of the RMA.
JordiBForgeFlow Nov 23, 2022
5f9c24b
[16.0][MIG] Migrate rma module to v16
florian-dacosta Nov 28, 2022
1790be2
[14.0][IMP] rma: pass product in create lot
DavidJForgeFlow Nov 30, 2022
19b145a
[FIX] fix empty parter on rma picking
JordiBForgeFlow Nov 30, 2022
060b513
[IMP] rma: add translations
AnnaPForgeFlow Nov 7, 2022
8c584ba
[14.0][IMP] rma: add lot/serial in report
DavidJForgeFlow Dec 20, 2022
49ef892
[FIX] count produced products going to customer as out pickings
florian-dacosta May 3, 2022
4e33e3a
[FIX] rma: Ensure that configuration on the operation is applied
LoisRForgeFlow Dec 28, 2022
4efbe70
[IMP] rma: rma group supplier form view as a inherited view.
LoisRForgeFlow Jan 2, 2023
fd2d1d0
[IMP] rma: add description to rma order and copy it over to new lines
LoisRForgeFlow Jan 2, 2023
87eed78
[IMP] rma: order by id desc
LoisRForgeFlow Jan 2, 2023
7855f13
[IMP] rma: print serial/lot number in RMA group report
LoisRForgeFlow Jan 2, 2023
8627a1e
[FIX] rma: remove "Add new line" in RMA group.
LoisRForgeFlow Jan 5, 2023
7cffb3f
[14.0][FIX] rma: add stock move in supplier group
DavidJForgeFlow Feb 1, 2023
dcb08db
[FIX] Move some field from onchange to compute fields to avoid issues…
florian-dacosta Dec 1, 2022
6f67fdd
[IMP] rma: cancel rma_lines
DavidJForgeFlow Feb 14, 2023
921967c
[FIX] rma: in multi step routes, only reserve first step
LoisRForgeFlow Feb 21, 2023
c927e4c
[IMP] rma: limit state statusbar
DavidJForgeFlow Feb 21, 2023
b16e4c2
[FIX] rma: deprecated test warning fix
DavidJForgeFlow Feb 22, 2023
ed4428f
[16.0][FIX] rma: return of button done
DavidJForgeFlow Feb 22, 2023
ef4eaaa
[FIX] rma: product_uom_qty not in move_line_ids
DavidJForgeFlow Mar 3, 2023
b881a46
[FIX] rma: make picking product_uom_qty
DavidJForgeFlow Mar 9, 2023
fedfb1f
[FIX] rma: some fixups
DavidJForgeFlow Mar 9, 2023
7947953
[FIX] rma: get all partner RMA
DavidJForgeFlow May 2, 2023
ef1ab18
[FIX] rma: dropship from vendor as outgoing
DavidJForgeFlow May 2, 2023
98f93df
[FIX] rma: get_move_rma dropship
DavidJForgeFlow May 2, 2023
90826cb
[FIX] rma: procurement origin
JoanSForgeFlow May 25, 2023
856dca3
[FIX] rma: correctly display fields in product category view
JordiMForgeFlow Oct 10, 2023
3bc2352
rma : Fix description size in rma order line view form
florian-dacosta Oct 27, 2023
5373626
[IMP] rma: add date to rma_order_line
DavidJForgeFlow Apr 28, 2023
c0c737f
[IMP] rma: date_rma in lines
AaronHForgeFlow Oct 27, 2023
f8879a5
[FIX] Restrict approval rights to RMA Manager
SergiCForgeFlow Apr 4, 2023
7d979eb
[14.0][IMP] added default operation on rma group, easy setup before r…
ChrisOForgeFlow Oct 27, 2023
911aaae
[FIX] rma: RMA location in the warehouse should not be inside stock
AaronHForgeFlow Nov 16, 2023
01bb5f3
[IMP] rma: mark RMA location as return location
JordiMForgeFlow Nov 20, 2023
fbf2881
[FIX] Delete rma_picking_wizard_item on cascade to avoid failure
florian-dacosta Nov 28, 2023
cd46134
[IMP] Remove domain from onchange method and put it in field view
florian-dacosta Nov 28, 2023
c29d26f
[16.0][IMP] rma: rma group state
chafique-delli Mar 25, 2024
6955621
[16][FIX] rma: make date_rma stored once again on rma_order
florian-dacosta Nov 14, 2024
b33bed1
[IMP] rma: black, isort, prettier
AaronHForgeFlow May 6, 2024
4723243
[MIG] rma: Migration to v17
CarlosVForgeFlow May 6, 2024
b796ffd
[FIX] rma: lot reservation error:
AaronHForgeFlow May 6, 2024
24d83b9
[IMP] rma: Auto-calculate package for serial products
BernatPForgeFlow Aug 17, 2023
324e3f4
[FIX] quants can be more than one on _gather function result
ChrisOForgeFlow Sep 26, 2023
2c4c3c5
[FIX] rma: Do not set 'Destination Package' if RMA package comes from…
BernatPForgeFlow Oct 25, 2023
70bcf96
[IMP] rma: add rma_line_id to stock.move views
DavidJForgeFlow Mar 5, 2024
acb94ec
[FIX] rma: inventory user by default should not see RMAs
AaronHForgeFlow Oct 30, 2023
ffd76ca
[FIX] rma: vendor rma lot mnmg
AaronHForgeFlow Jul 12, 2024
9e002ee
[IMP] rma: adapt icon to v17
AaronHForgeFlow Jul 19, 2024
bcdd025
[FIX] rma: fix action that opens related RMA or RTV.
DavidJForgeFlow Sep 30, 2024
306acd4
[IMP] rma : propagate cancelation
florian-dacosta Aug 29, 2024
e1179b8
[MIG] rma: Migration to 18.0
JasminSForgeFlow Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[FIX]error in compute method
AaronHForgeFlow authored and JasminSForgeFlow committed Nov 22, 2024
commit a334d1c3f7bf4354f0904d0d888e6774b3f73834
7 changes: 3 additions & 4 deletions rma/models/rma_order_line.py
Original file line number Diff line number Diff line change
@@ -86,8 +86,8 @@ def _compute_qty_to_receive(self):
rec.qty_to_receive = 0.0
if rec.receipt_policy == 'ordered':
rec.qty_to_receive = rec.product_qty - rec.qty_received
elif self.receipt_policy == 'delivered':
self.qty_to_receive = rec.qty_delivered - rec.qty_received
elif rec.receipt_policy == 'delivered':
rec.qty_to_receive = rec.qty_delivered - rec.qty_received

@api.multi
@api.depends('move_ids', 'move_ids.state',
@@ -144,8 +144,7 @@ def _get_supplier_rma_qty(self):
def _compute_qty_supplier_rma(self):
for rec in self:
qty = rec._get_supplier_rma_qty()
rec.qty_to_supplier_rma = (rec.qty_to_receive - qty
if rec.customer_to_supplier else 0)
rec.qty_to_supplier_rma = rec.qty_to_receive - qty
rec.qty_in_supplier_rma = qty

@api.multi