Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions sale_order_type_automation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@
##############################################################################
{
"name": "Sale Order Type Automation",
"version": "19.0.1.0.0",
"version": "19.0.2.0.0",
"author": "ADHOC SA",
"website": "www.adhoc.com.ar",
"license": "AGPL-3",
"depends": [
"account",
"sale_order_type_ux",
# dependemos de este para no generar modulos puente y porque nosotros
# queremos que el pago creado sea un payment group
"account_payment_pro",
"stock_ux",
],
"category": "Sale Management",
Expand Down
1 change: 1 addition & 0 deletions sale_order_type_automation/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def action_post(self):
for invoice in self.filtered(
lambda x: x.move_type in ("out_invoice", "out_refund", "in_invoice", "in_refund")
and x.state == "posted"
and x.payment_state in ("not_paid", "partial")
and x.sale_type_id.payment_atomation == "validate_payment"
):
try:
Expand Down