This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# MIT License | |
# Copyright (c) 2024 Gustavo A. Valverde | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quants = env['stock.quant'].search([]) | |
move_line_ids = [] | |
warning = '' | |
for quant in quants: | |
move_lines = env["stock.move.line"].search([ | |
('product_id', '=', quant.product_id.id), | |
('location_id', '=', quant.location_id.id), | |
('lot_id', '=', quant.lot_id.id), | |
('package_id', '=', quant.package_id.id), | |
('owner_id', '=', quant.owner_id.id), |
Hola a todos,
Esta entrada nace de un problema de configuración que tuve hace 3 días, en el escenario necesitaba configurar para un cliente, un producto que manufactura bajo pedido pero que no almacena ya que lo hace tomando otros productos que el produce para armarlo bueno supongamos que tengo estos 4 productos:
- Bolsas de Chocolates "Regalo Sorpresa" (Manufacturado)
- Bolsas de Regalo (Comprado)
- Chocolate Negro 70% (Manufacturado)
- Chocolate Negro 65% (Manufacturado)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<odoo> | |
<data noupdate="1"> | |
<record id="do_niif_11010301" model="account.account.template"> | |
<field name="name">Depósitos a corto plazo en RD$</field> | |
<field name="code">11010301</field> | |
<field name="chart_template_id" ref="do_chart_template"/> | |
<field name="user_type_id" ref="account.data_account_type_liquidity"/> | |
<field name="reconcile" eval="False"/> | |
<field name="tag_ids" eval="[(6,0,[ref('account_tag_1'), ref('account_tag_11'), ref('account_tag_1101'), ref('account_tag_110103')])]"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vagrant commands | |
vagrant reload #! | |
vagrant status | |
vagrant suspend | |
vagrant resume | |
vagrant halt | |
vagrant up | |
vagrant package | |
vagrant destroy | |
vagrant box add <nombre> <url> |