Commit Graph

15 Commits

Author SHA1 Message Date
david
934954e1a6 [FIX] rma: non rma users confirm
The sudo had to be before calling the records
2020-10-15 16:48:23 +02:00
david
c2d923f486 [FIX] rma: multicompany returns
The move was created with the default company
2020-10-15 10:54:00 +02:00
david
8c54896c19 [FIX] rma: return permissions
When a user with no stock manager permissions was doing the return, an
access error would raise.
2020-10-14 12:32:11 +02:00
david
cbdea0caba [FIX+IMP] rma: usability
* IMP - Now the description will be an html son we can show rich styles
in the customers report.
* FIX - On locked sale orders it was need to unlock them to be able to open an RMA.
* IMP - Make the description label visible in the backend form so the
user can easily spot it.
* IMP - Added date and deadline filters.
* IMP - Added pending RMAs filter.
* IMP - Added late RMAs filter.
* IMP - Added danger decoration in tree view
2020-09-30 16:32:04 +02:00
Ernesto Tejeda
bd48f905fc [IMP] rma: incoming picking type use existing lot by default. 2020-09-16 10:03:40 -04:00
Ernesto Tejeda
d576afb058 [IMP] rma: set rma to received on invoice delete.
Remove 'waiting_refund' rma state.
RMAs go from received to refunded.
When the linked refund is deleted the rma is set to received.
2020-09-15 17:56:30 -04:00
Pedro M. Baeza
cc673918f2 [FIX] rma: Perform refund with proper view
Not indicating account.invoice, it takes the default that is the vendor bill view.
We force the suitable one.
2020-09-14 15:58:14 +02:00
david
bdd0e739f6 [IMP] rma_sale: portal improvents
- Now it's possible to open several RMAs in a sale order from the portal
- A new comment button has been added to allow the portal user to enter
relevant information like serial numbers o issue description.
- If the requested operation isn't set no RMA will be opened
- The RMA product qty is now a numeric control with limits according to
the qty available to return

[FIX] rma,rma_sale: fix linter errors
2020-09-07 12:19:15 -04:00
Pedro M. Baeza
4db443924b [IMP] rma: Return created sequence on create_rma_index 2020-08-26 08:16:29 +00:00
david
099d86dbce [FIX] rma: permissions for general users
- Avoid permission blockings on users who doesn't have RMA permissions.
- Add activities view on RMA list.
2020-08-25 08:07:24 +02:00
Ernesto Tejeda
fbffdc71b2 [FIX+IMP] rma, rma_sale: fix bugs and add improvements
- Fix thrown error when trying to download a picking from the portal.
- Add the hook method to prepare RMA values ​​from the return pick wizard.
- Add the access rule for portal users.
- Show the portal 'Request RMAs' button on the sales page only to users
related to the sales order.
2020-08-20 08:37:52 -04:00
david
fe6993e882 [IMP] rma: teams flow
- If no RMA Team is set, we'll assign a default one to the new RMA.
- A sequence is now used to search for the top team and assign it.
- No default user is assigned when it's not in the context (i.e. portal
rmas).
2020-08-18 12:34:32 +02:00
david
04299968c6 [FIX] rma: portal views access errors
- Portal mail thread needs token config.
- Unpublished products will raise AccessError on RMAs portal views for
portal users due to record rules.
- Ensure active_id when getting actions in rma, since we could come from
a context that pollutes the expected active rma id.
2020-08-18 09:14:07 +02:00
Ernesto Tejeda
66b7de7255 [ADD] rma_sale: new module 2020-07-08 10:01:11 -04:00
Ernesto Tejeda
ad26c0ddb9 [ADD] rma: new module 2020-06-21 11:41:00 -04:00