Skip to content

Commit

Permalink
[IMP] purchase_ux: completar automaticamente
Browse files Browse the repository at this point in the history
se disponibiliza nuevamente el campo

closes #174

Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
ica-adhoc committed Aug 15, 2023
1 parent 09191b6 commit f9ef25a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion purchase_ux/__manifest__.py
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Purchase UX',
'version': "16.0.1.2.0",
'version': "16.0.1.3.0",
'category': 'Purchases',
'sequence': 14,
'summary': '',
Expand Down
4 changes: 0 additions & 4 deletions purchase_ux/views/account_move_views.xml
Expand Up @@ -9,10 +9,6 @@
<button name="add_purchase_line_moves" type="object" string="Add Purchase Lines" attrs="{'invisible': ['|',('state', '!=', 'draft'),('move_type', 'not in', ['in_invoice','in_refund'])]}"/>
<button name="update_prices_with_supplier_cost" string="Update Supplier Prices" type="object" confirm="By accepting they will update (or create prices) for this provider and all products loaded on the invoice. Are you sure you wish to continue?" attrs="{'invisible': [('move_type', 'not in', ['in_invoice','in_refund'])]}"/>
</field>
<!-- We hide the native field to add from purchase order. We do not delete it because it would lose behavior from purchase order when creating invoice that adds the lines with the onchange -->
<field name="purchase_vendor_bill_id" position="attributes">
<attribute name="invisible">1</attribute>
</field>

<div name='button_box' position="inside">
<field name="has_purchases" invisible="1"/>
Expand Down

0 comments on commit f9ef25a

Please sign in to comment.